I’m trying to display the health of an actor in my level in the progress bar of the UMG. All of the tutorials that I’ve read have only mentioned getting info from the player, using the Get Player Character function to cast to.
I’ve been trying, with no success, to get the UMG to see the health variable on an actor in the level; all the routes I’ve taken (Cast to class) have resulted in a failed casting. I’m not too sure what I’m doing wrong.
Has anyone else managed to get the UMG to display a variable that is not tied to a player character, and if so, how?