GetIsDead(object)

Determines if a creature is dead or dying.

int GetIsDead(
    object oCreature
);

Parameters

oCreature

The creature to be investigated.


Description

Returns TRUE if oCreature is a dead NPC, dead PC or a dying PC, otherwise FALSE.



Remarks

A creature is considered dead if they have 0 or less hit points. PC's actually die at -10 hit points, but are considered dead when this is used.


Version

1.22

See Also

categories: Miscellaneous Functions


 author: Tom Cassiotis, editor: Jasperre, additional contributor(s): Jasperre