Creating a condition between two different widgets
Hello, I'm trying to create a condition in which if you press a button from "Widget (a)" it effects "Widget (b)" and sets an image or button's visibility to Hidden inside widget (b).
I tried using event dispatchers to communicate this logic between two different widgets but it wouldn't work. Would someone kindly steer me to simplified solution for this?
asked May 10 '18 at 07:27 AM in Using UE4
Well, you can only communicate from the level blueprint to other actors, not the other way around. So i'd say, maybe create another actor that can be accessed by your character.
answered May 10 '18 at 09:12 AM
Place it in your player controller. If you dont have one, make a blueprint child of player controller, and then make a function inside it. Widget can call "Get owning player", and you can call your function through it. Create both the widgets in the player controller, and store the variables for them, for easy access
answered May 10 '18 at 09:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here