The search keyword must be a single word (no spaces).
Function GroupAddUnit
- Line
- 2344
- Location
- common.j
- Constant?
- no
- Type
- native
- Arguments
- group whichGroup, unit whichUnit
- Returns
- boolean
| 2344 | native GroupAddUnit takes group whichGroup, unit whichUnit returns boolean |
| 2345 | native GroupRemoveUnit takes group whichGroup, unit whichUnit returns boolean |
| 2346 | native BlzGroupAddGroupFast takes group whichGroup, group addGroup returns integer |
| 2347 | native BlzGroupRemoveGroupFast takes group whichGroup, group removeGroup returns integer |
| 2348 | native GroupClear takes group whichGroup returns nothing |
| 2349 | native BlzGroupGetSize takes group whichGroup returns integer |
Information about GroupAddUnit
City17
4 years
appends whichUnit at the end of whichGroup, increasing size by 1 (see BlzGroupGetSize).
Returns true if the unit was added, false if the unit is already in the group or the group was destroyed.
Even if there's a null "hole" at index 0, the unit will still be added at the tail end.
Returns true if the unit was added, false if the unit is already in the group or the group was destroyed.
Even if there's a null "hole" at index 0, the unit will still be added at the tail end.
You must be logged in with a standard account to contribute.