GetEnergy

Category: Objects
Since engine version: 5.1 OC

Description

Returns the current energy value of an object. 100% representing the maximum physical value of 100,000

Syntax

int GetEnergy();

Remark

For living beings, \"energy\" stands for health, in buildings it stands for electrical charge.
See also: DoEnergy
jwk, 2002-06