IsUnitHidden
- Parameters
-
whichUnit unit
- comment
Returns
true
ifwhichUnit
is hidden, for example by means ofShowUnit
.- note
A comment in Blizzard.j,
ReplaceUnitBJ
states that it's "sometimes unsafe to remove hidden units", as a workaround it callsKillUnit
right beforeRemoveUnit
.- return type
boolean
- Source code
constant native IsUnitHidden takes unit whichUnit returns boolean
- Source
- common.j
- wc3modding.com
- IsUnitHidden