BlzGroupUnitAt

Parameters
whichGroupgroup
indexinteger
comment

Returns unit at the given index in group. Groups start at index 0.

If the unit was removed from the game or index is out of bounds, returns null.

note

Although this native is fast, it is not an O(1) lookup.

patch

1.31.0.11889

Source
common.j (suggest an edit or discuss on Github)
return type
unit
Source code
native BlzGroupUnitAt                       takes group whichGroup, integer index returns unit