(Difference between revisions)
Return to current revision
-
-
Returns true if the [[Actor]] is currently jumping.
== Declaration ==
<code cpp>
-
+
Returns [wiki="True"]vaultmp::True[/wiki] if the [wiki]Actor[/wiki] is currently jumping.
[h="2"] Declaration [/h]
[highlight=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>
-
+
[/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]
-
vaultmp::State state;
state = IsActorJumping(actor);
-
-
</code>
-
+
[/highlight]
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Actor functions[/category]