ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_GetHealth

Determines the health percentage of a given object

On this page
Util_GetHealth(var)

Description

Returns average health if the object is a group

Parameters

  • varSquad/Entity/Sgroup/Egrouprequired

Returns

PercentagePercentage health [0,1]

Source

Declared in the game's script sources at:

scar/scarutil.scar