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

IsActorJumping

(Difference between revisions)
Return to current revision
Current Revision 04-29-2012, 01:47 AM
  1. -
    Returns true if the [[Actor]] is currently jumping.

    == Declaration ==
    <code cpp>
  2. +
    Returns [wiki="True"]vaultmp::True[/wiki] if the [wiki]Actor[/wiki] is currently jumping.
    [h="2"] Declaration [/h]
    [highlight=cpp]
  3.  
    VAULTSCRIPT vaultmp::State (*IsActorJumping)(vaultmp::ID);
    native Bool:IsActorJumping(ID);
  4. -
    </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>
  5. +
    [/highlight]
    [h="2"] Parameters [/h]
    [b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
    [h="2"] Return value [/h]
    Returns a [wiki="State"]vaultmp::State[/wiki] ([wiki]True[/wiki] - the [wiki]Actor[/wiki] is jumping, [wiki]False[/wiki] - the [wiki]Actor[/wiki] is not jumping).
    [h="2"] Usage example (C++) [/h]
    [highlight=cpp]
  6.  
    vaultmp::State state;
    state = IsActorJumping(actor);
  7. -
    </code>
  8. +
    [/highlight]
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Actor functions[/category]