S
Stranger
Guest
Hello everyone. So I'm having difficulty drawing the enemy stats(more specifically the enemy picture and health bar). It is a turn-based system and I'd like to have up to eight enemies per battle. So I plotted out where each enemy picture and health bar will go. Now what I'm having difficulty with is determining which enemy will display their stats at which HUD location. I tried a few different ways but can't seem to find a way to distinguish one enemy from the other(maybe with a variable). In the end, the game will populate the battle room with enemies based on the encounter that led up to combat. But right now the enemy is just one object which has been placed on the map four times(four separate instances). I just need a way to determine who is enemy_one, enemy_two etc so I can draw their stats at enemy_slot_one, enemy_slot_two etc. Here is a screenshot to help visualize the situation. The giant robots on the map are the enemies I'd like to identify and draw their stats below. Any help is much appreciated. Let me know if you need any code posted.