Function
SGroup
SGroup_GetAvgHealth
Returns the average health ratio of all units in a squad group.
On this page
SGroup_GetAvgHealth(sgroup)Description
It now uses the same health measure that's used by the UI, so it does take into account fallen members of a squad
Parameters
sgroupSGroupIDrequired
Returns
RealSource
Declared in the game's script sources at:
scar/groups.scar