can't get variable from other blueprint in a widget blueprint.
I have this text in a widget that needs to be set tot a text variable from a other (actor) blueprint. somehow this does not work. Does someone have a solution?
asked Mar 08 '16 at 02:56 PM in Blueprint Scripting
to trouble shoot blueprint communication issues, a good place to start is by checking values of the different variables you're looking to connect with. so for your example, print the value of level/current player. if nothing is returned, you'll need to check if 'level' variable is valid, and/or if 'current player' variable is valid. can you post a blueprint of where and how you initialized these variables?
answered Mar 08 '16 at 05:32 PM
You probably forgot to bind a Text update event to your Text node in your widget's designer interface. If you go to the Widget designer view in the editor, select your Text node in the node hierarchy and in the details pane there is an option to Bind a function to the Text value. Bind an event to the Text node and have it set the text to the class variable value.
Would be helpful if we had more information.
In your first screenshot of Event Tick, where is that at? PlayerController?
Can we see your Widget designer/blueprints?
answered Dec 14 '16 at 12:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here