RemoveUnit
- Parameters
-
whichUnit unit
- comment
- note
A comment in Blizzard.j,
ReplaceUnitBJ
states that it's "sometimes unsafe to remove hidden units", as a workaround it callsKillUnit
right beforeRemoveUnit
.TODO: Propagate this note to other functions that use hidden units.
- patch
1.00
- Source
- common.j
- return type
nothing
- Source code
native RemoveUnit takes unit whichUnit returns nothing