HUD Map with unique enemy positions marked

scitunesscitunes Member, Sous Chef Posts: 4,047
edited November -1 in Working with GS (Mac)
I have used the wiki to create a HUD map. Here's my issue:

I want to have 20 bad guys hidden around the world I have created. I want my main player and all of the bad guys to also have a corresponding dot on the HUD map. I have the main player dot working perfectly. It seems that the only way to get the 20 bad guys to work properly with a corresponding dot on the map is to create 20 unique actors with two integer attributes for each (x and y) for a total of 40 attributes. This works fine until the bad guy is killed. Now it would seem that I need to make 20 boolean attributes so that each dot on the map disappears when its corresponding bad guy dies. That is a total of 60 game attributes! Is there an easier way with fewer attributes?

Any ideas would be much appreciated.

Comments

  • TobyToby Member Posts: 478
    That sounds just like my game enemy issue too. They need to be unique so they all don't die when 1 is shot.

    Fortunatly I only have 4 bad guys maximum!
Sign In or Register to comment.