Ghostwind
o________o
- Reaction score
- 172
Is there any way to get a unit's ID from its unit name?
For example if Player 1 types "footman" I want it to set a variable to the footman's unit ID, or if they type "grunt" to set it to the grunt's unit ID, etc.
For example if Player 1 types "footman" I want it to set a variable to the footman's unit ID, or if they type "grunt" to set it to the grunt's unit ID, etc.