Unit Type

saume

New Member
Reaction score
0
Hey, I cant seem to get to set my condition to something like ti would be in warcraft 3 editor so heres the thing

EVENTS
any unit takes damage (any unit, any form of damage, fatal/non fatal)

**so here i was unable to change any unit to somehting like any hero, so i went to conditions**


CONDITIONS
unit type of triggering unit == XXX

**here i cant find any way to just do == "Hero", so i tried a different way**


CONDITIONS
triggering unit is in unit group XXX

**here i couldnt get to add all units of type hero to a unit group**


so im wondering if there is anyway to do this or if i missed something, cos i checked pretty much all my options and couldnt find anything
 

nethara

New Member
Reaction score
0
"Unit Type" is specifically for the specific type of unit, such as "zergling" or "zealot".

I don't have the editor atm, but I think the conditional you want is "X is a hero", or something along those lines.
 

eXirrah

New Member
Reaction score
51
There is a function Unit Type Classification Check. If you set your unit classification to Hero in the Data Editor
this function should do the trick for you.
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top