This is an old revision of this page, as edited 09-30-2011, 02:54 PM by . It may differ significantly from the
current revision.
Retrieves the dead state of an [[Actor]].
== Declaration ==
<code cpp>
VAULTSCRIPT vaultmp::State (*GetActorDead)(vaultmp::ID);
native Bool:GetActorDead(ID);
</code>
== Parameters ==
'''[[ID|vaultmp::ID]]''' - the ID of the [[Actor]]
== Return value ==
Returns a [[State|vaultmp::State]] containing the dead state (''true'' - the [[Actor]] is dead, ''false'' - the [[Actor]] is alive).
== Usage example (C++) ==
<code cpp>
vaultmp::State state;
state = GetActorDead(actor);
</code>