GetAlive

Category: Objects / Living Beings
Since engine version: 4.6.5.0 CP

Description

Returns whether the object is still alive.

Syntax

bool GetAlive (object pObj);

Parameter

pObj:
[opt] Object to check.

Example

if(!GetAlive(FindObject(MCLK))) EliminatePlayer(0);
Eliminates the first player if the first found magiclonk was killed. Warning: in real application check for the existence of the player first.
See also: Kill
jwk, Mai 2002