GroupAddUnit

Parameters
whichGroup group

Target group.

whichUnit unit

Target unit.

comment

Appends unit at the end of group, 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 is destroyed.

Even if there's a null "hole" at index 0, the unit will still be added at the tail end.

patch

1.00

Source
common.j
return type
boolean
Source code
native GroupAddUnit                         takes group whichGroup, unit whichUnit returns boolean