GetAlive

Category: Objects / Living Beings
Since engine version: 1.0 OC

Description

Returns whether the calling object is still alive.

Syntax

bool GetAlive();

Example

if(!FindObject(Find_ID(MagicWipf))->GetAlive()) EliminatePlayer(0);
Eliminates the first player if the first found object with the ID "MagicWipf" was killed. Warning: in real application check for the existence of the player first.
See also: Kill
jwk, 2002-05