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 calls KillUnit right before RemoveUnit.

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