Do Enemies Have Unique Identifiers? (Solved)


#1

##Unique Idenfier for Enemy Combatants?
Unlike Coins, enemies (seem) to not have unique identifiers. Coins are refered as such: Gold Coin 9 etc. where as the enemy combatants can have repeating names like Goreball etc.
Am I missing the unique idenfiter or is there any?
-Thank you


#2

Units should already have unique names; see here for all the possible names for each unit type. If there are more units than available names then there is a index to ensure all names (ids) are unique.


#3

The first “here” link, linked to a 404 error, so I could not look at the list. But I could see the code (“index” link) and it all made sense.

I also realized that my while True was looping around the names and starting over with out a break. Hence the repeted names. Thank you for your help :slight_smile: