GetDamage

Category: Objects / Status
Since engine version: 1.0 OC

Description

Determines the damage level of an object.

Syntax

int GetDamage();

Example

if(GetDamage() > 100) Split2Components();
Decomposes the calling object if it has taken too much damage.
See also: DoDamage, DoEnergy
Sven2, 2002-05