Call event on a widget
Hi, I need help for this blueprint, how can i call a custom event on a Widget, with a button on another Widget. I try to do this but doesn't work
Please help me.
asked Apr 23 '19 at 08:35 AM in Blueprint Scripting
Something like this would do the trick I think, if I understood the question correctly. Basically, you Take your construct Event, put a Bind Event to (Event you want to bind), get the button you want the event to happen on, and the do your code on the custom event. https://blueprintue.com/blueprint/j0nnsu7e/
EDIT: My answer wont actually work for what you want. If I understand correctly, you want to get a custom event from one widget, and use it in another widget ? You'll need of reference to the widget with the custom event, and from there you'll be able to do what you want.
EDIT #2: If I understood correctly, here is a project that would do what you are looking for :https://www.dropbox.com/s/uke6dug84eo0phh/EventThroughWidgets.zip?dl=0
You really shouldn't do just random things and hope that they work. Check out Unreal Academy (or YouTube) and learn Blueprints first if you'd like to work with them, there are many great resources to start with.
Follow this question
Once you sign in you will be able to subscribe for any updates here