• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Help with unit type ward

Status
Not open for further replies.
Level 8
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