RemoveUnit
- Parameters
whichUnit unit- comment
- note
A comment in Blizzard.j,
ReplaceUnitBJstates that it's "sometimes unsafe to remove hidden units", as a workaround it callsKillUnitright beforeRemoveUnit.TODO: Propagate this note to other functions that use hidden units.
- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
native RemoveUnit takes unit whichUnit returns nothing