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.

return type
nothing
Source code
native          RemoveUnit          takes unit whichUnit returns nothing
Source
common.j
wc3modding.com
RemoveUnit