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

GetActorDead

(Difference between revisions)
Return to current revision
  1. -
    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>