• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Has a good soul already documented the values of BlzGetUnitIntegerField for 'utar' and 'utyp'

Status
Not open for further replies.
Hello,

I want to make a function "IsUnitTypeWard" to check if a unit is a ward (because the default JASS API functions cannot check this particular type, there is no constant for it...).

I saw that you can get the units "Targeted as"/'utar' & "Stats - Unit Classification"/'utyp' through the BlzGetUnitIntegerField.
In my case it's OK, I tested and it returns respectively 16 (2^4->5th bit) and 512 (2^9->10th bit).

But I'm wondering: has someone documented the complete integer flags for those 2 attributes ? And maybe others^^
 
Status
Not open for further replies.
Top