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

IsActorJumping

(Difference between revisions)
Return to current revision
  1. -
    Returns true if the [[Actor]] is currently jumping.

    == Declaration ==
    <code cpp>
    VAULTSCRIPT vaultmp::State (*IsActorJumping)(vaultmp::ID);
    native Bool:IsActorJumping(ID);
    </code>
    == Parameters ==

    '''[[ID|vaultmp::ID]]''' - the ID of the [[Actor]]

    == Return value ==

    Returns a [[State|vaultmp::State]]. (''true'' - the [[Actor]] is jumping, ''false'' - the [[Actor]] is not jumping).

    == Usage example (C++) ==

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