• 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.

[JASS] Help with unit type ward

Status
Not open for further replies.
Level 9
Joined
Oct 28, 2007
Messages
435
Hi,

What is the unit type for unit type ward?

I need to add the classification to a unit via script but can't find the variable. What I mean is for example If I wanted to add Structure classification to a unit you call:

call UnitAddType(u,UNIT_TYPE_STRUCTURE)

I'm looking for the UNIT_TYPE_WARD unit type... and it an't UNIT_TYPE_WARD. I'm guessing its something weird since unit type worker is UNIT_TYPE_PEON (i think) so....
 
Status
Not open for further replies.
Top