I have a print string setup to show me the enemy’s remaining health variable. I would like to know how to draw text to the Hud from it.
I can do these things in the mycharacter BP, but I cannot do this from an Actor’s BP.
What is your HUD implementation?
Ok, I think this will do what you want. Unfortunately it requires casting to the player controller then to the HUD. I try not to cast too much as it gets complicated, but to do this without casting seems even more messy.
The “Set Update Health” in the picture doesn’t need to be replicated in anyway, mine below shows RepNotify (but it isn’t required).
I used your example as a reference and was able to draw a scaling health bar for the enemies at the top-middle of the screen that only shows on hit. Thank you for the help.



