Binding text via UMG failing
So I have a random name generator that fires every time I spawn in a new enemy AI so it can assign them a random name.
The function exists in the construction graph of the enemy AI and it functions properly as I am able to print the results to the screen.
I create an AI health bar and text (for name) via UMG. I am casting in the results of the bar and it functions well. But I am binding the textfield so I can grab the randomly generated name. I am casting in the BP that holds the name and the binding function is throwing no errors. But at runtime it fails every time.
asked Jan 02 '17 at 05:27 PM in Blueprint Scripting
The Object you are casting in "screen shot 2017-01-02 at 11.20.23 am.png" is called healthBar. So I assume it is a REF to a UMG? If so this is your error. It needs to be a REF to your enemyshipActor instead.
answered Jan 12 '17 at 10:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here