How to change a variable in another blueprint ?
How do I go about changing a variable from a blueprint to another blueprint ? Specifically, I have loads of blueprints in my level which I want to interact with (change an enum), see picture below (all the x are blueprints)
Using this method so that I can change only the enumerator of a blueprint which i'm clicking on
I've tried using interfaces like in the picture below but I don't know why the interface is never firing:
I've been trying this for a few days not but I'm not getting anywhere. If you could help that would be ace ! Thank you in advance for your time !
asked Oct 30 '15 at 12:22 AM in Blueprint Scripting
I don't know how your game works but i think you need to create 1 public function inside of your blueprint or interface call "change variable" which will set value of your textblock. After click make line trace and if hit component is your object call "change variable" from there. And try to make this script inside of your character or controller. Good luck.
answered Oct 30 '15 at 08:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here