This site has been archived and made available for preservation purposes. No edits can be made.

GetActorDead

This is an old revision of this page, as edited 04-06-2012, 03:24 PM by foxtacles (contribs). It may differ significantly from the current revision.
Retrieves the dead state of an Actor.

[top]Declaration

<code cpp>
VAULTSCRIPT vaultmp::State (*GetActorDead)(vaultmp::ID);
native Bool:GetActorDead(ID);
</code>

[top]Parameters

vaultmp::ID - the ID of the Actor

[top]Return value

Returns a vaultmp::State containing the dead state (true - the Actor is dead, false - the Actor is alive).

[top]Usage example (C++)

<code cpp>
vaultmp::State state;
state = GetActorDead(actor);
</code>