Hi! This is my first time using the answers website of unreal engine so please be kind lol. Here’s my question, I have a widget that shows my basic health bar in the designer tab and my blueprint for said widget in the graph tab.
As you can see, the Event Construct is connected to the Create Widget which is then connected to Add to Viewport. When I press play, the Event Construct will not fire. I’ve tried looking for the Event BeginPlay too but I can’t find it.
If you can figure out why the event construct is not working, I will be very happy!
Thanks in advanced!
First Welcome to AnswerHub, we always promise to be nice. UE4 user got to stick together. Begin play would be the best place to create the widget. All you are missing is a ‘Get Player Controller’ node that plugs into the Owning Player pin.
Hi all! I have figured out a solution to this problem. I needed to create a HUD interface so I can then have the begin play option because the Widget blueprint does not have that event. Also, thanks to @ipninichuck for the “other character” problem. But thank you all for helping
Add to Viewport should show up if you drag from the output pin of ‘create widget’ node and then right click and select it from the drop down menu. The game mode blueprint can be found in your FirstPersonBP folder in your particular case. You can also make your own and change to your custom game mode in your project settings under the tab ‘maps and modes’.