As you can see, in the GRAPH i get the health (int) variabile from the Player. Now, I want to convert this integer variable in the correct type of **HEALTH_LBL **which is a Text Reference.
How to do this conversion and to be able to connect those two nodes?
well, my Player Character has 2 variables: health and armor;
the HUD widget has 2 variables: health and armor.
When the player loses or gains health, it’s health variable increases or decreases.
I want the HUD to REFRESH itself anytime that the PlayerCharacter’s health changes.
And when HP of player is changed, calls this custom event with new HP value. If you don’t know how add this new value in you UI(text or bar, or image, or something else) show , how you want draw this at viewport.