Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
What do you mean, "Unit ID". A unit's ID is determined by it's raw-code (which is returned, as Bribe says, with GetUnitTypeId()). In the object editor it can be found by pressing Ctrl+D, which replaces the objects' names with raw-code data IDs.
It's weird, actually, when I make a GUI variable that is of the "Unit-Type" type, declare it and use it in a call statement it seems like the type is treated exactly as an integer, though when I define a global unittype variable and define it to the same thing as I did in the GUI version it tells me that it cannot convert a unit-type to an integer. This leads me to believe that GUI doesn't even use unittype, instead it simply uses an integer.
Yea, this is what it reads in the map script (the unit-type declaration in the GUI):
JASS:
integer udg_What= 0
That is how it is declared, and as you can see they do not even use their own useless type.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.