HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit ID ?

12-01-2002, 12:27 AM#1
wei
mmmmmm does anyone know how to know the unitid of own created custom units ?
i want to create a "metamorphosis" ability based on custom units
can this be done ?
12-01-2002, 12:58 AM#2
weaaddar
Heres how you can sort of tell the ID.
First letter is the base race, H for human, O for orc, E for Nightelfs (i think), U for UD, and N for nuetral.
Then the next letter is C always.
Finally the next two are numbers which coordinate on to when you created this special unit if its your first custom unit it will be 00...irregardless of what race its an order also deleting a Custom unit MAY change the number of the others so ung.
So you would have something like HC01
12-01-2002, 01:42 AM#3
Guest
Just wanted to add one more thing, the letter identifying the race will be a capital letter if the unit is a hero, and a lower-case letter if it's not.
12-01-2002, 01:06 PM#4
Krakou
There is a simple way to know the unit id, create a trigger with that unit and convert it to jass, the id appears.