• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[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