Function
SGroup
SGroup_SetAvgHealth
Sets the health of each squad in a squad group to a given percent [0.0, 1.0].
On this page
SGroup_SetAvgHealth(sgroup, healthpercent)Description
Sets the health of each squad in a squad group to a given percent [0.0, 1.0].
Parameters
sgroupSGroupIDrequiredhealthpercentRealrequired
Returns
RealSource
Declared in the game's script sources at:
scar/groups.scar