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
.- patch
1.00
- Source
- common.j
- return type
boolean
- Source code
constant native IsUnitHidden takes unit whichUnit returns boolean