ScarDoc

Start typing to search the SCAR reference.

Function
EGroup

EGroup_GetTotalHealth

Returns the total health of all units in a entity group.

On this page
EGroup_GetTotalHealth(egroup)

Description

This uses the \"proper\" measure of health for panel buildings, so should accurately reflect what the user sees.

Parameters

  • egroupEGroupIDrequired

Returns

Real

Source

Declared in the game's script sources at:

scar/groups.scar