Function
EGroup
EGroup_GetAvgHealth
Returns the average health ratio of all units in a entity group.
On this page
EGroup_GetAvgHealth(egroup)Description
This uses the \"proper\" measure of health for panel buildings, so should accurately reflect what the user sees.
Parameters
egroupEGroupIDrequired
Returns
RealSource
Declared in the game's script sources at:
scar/groups.scar