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 (suggest an edit or discuss on Github)
- return type
-
nothing
- Source code
-
native RemoveUnit takes unit whichUnit returns nothing