FirstOfGroup

Parameters
whichGroup group
bug

May return null even if there are still units in the group. This happens when a unit in the group dies and decays since the group still holds a reference to that unit but that unit is pretty much null. See http://wc3c.net/showthread.php?t=104464.

return type
unit
Source code
native FirstOfGroup             takes group whichGroup returns unit
Source
group.j
wc3modding.com
FirstOfGroup