How do I call a custom event from a widget blueprint?
Hi, I need some help with calling a custom event from a widget blueprint. In detail, I'm trying to make a system so when you click on a button in the widget it calls the custom event I made in the actor blueprint. I'm relativity new to blueprints and could use some suggestions.
Thanks for the help!
asked Dec 14 '18 at 06:48 AM in Blueprint Scripting
I'm assuming you are adding widget to viewport in playercontroller. Create a variable in playercontroller. Set variable type to your widget. Then set widget to your variable after adding to viewport. After that you can reach that widget with getting playercontroller and casting to your own playercontroller type.
answered Dec 14 '18 at 08:24 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here