GetEnergy
Category: Objects
Since engine version: 4.6.5.0 CP
Description
Returns the current energy value of an object. 100% representing the maximum physical value of 100,000. Also see DefCore section [Physical]. pObj can be 0 in local calls.
Syntax
int GetEnergy
(object pObj);
Parameter
- pObj:
[opt]
Object of which to get the energy value. Can be 0 in local calls.
Remark
"Energy" signifies life energy in living beings and electrical energy in buildings.
jwk, Juni 2002