Originally posted by Monokkel
View Post
If you don't mind I'd have another tiny question which could save me a lot of time. As I see it initiative order is created in the grid manager blueprint and values like health are defined in the pawn blueprints (with help from the unit_parent). I'm struggeling with getting access to the current pawn, the next pawn and so on (and their values like Health) from other blueprints. In the current case I want to show a health bar (on the UI) for each pawn on the map in the order of the initiative (just below each other).
I think I need the initiative order array from the grid manager to read the pawns position on the array an with that determine screen position of the health bar. But I'm already struggeling with getting the health value of the current pawn and displaying it (via progress bar) in a corner of the screen.
I tried casting to the grid manager and getting the initiative order array but failed to get the pawn currently at position 1 (to get its health value).
Comment