GroupRemoveUnit
- Parameters
-
whichGroup group
whichUnit unit
- comment
-
Removes unit from group, returns true on success; returns false on failure (no operation).
If unit is null, does nothing and returns false regardless if there're null values at any index in the group (does not remove destroyed units which are still in group).
- patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
boolean
- Source code
-
native GroupRemoveUnit takes group whichGroup, unit whichUnit returns boolean