Function
EGroup
EGroup_SetAvgHealth
Sets the health of each unit in an entity group to a given percent [0.0, 1.0].
On this page
EGroup_SetAvgHealth(egroup, healthPercent)Description
Sets the health of each unit in an entity group to a given percent [0.0, 1.0].
Parameters
egroupEGroupIDrequiredhealthPercentRealrequired
Returns
RealSource
Declared in the game's script sources at:
scar/groups.scar