This site has been archived and made available for preservation purposes. No edits can be made.
IsActorJumping
(Difference between revisions)
Return to current revision
-
Returns true if the [wiki]Actor[/wiki] is currently jumping.
[h="2"] Declaration [/h]
-
-
<code cpp>
-
+
[highlight=cpp]
-
VAULTSCRIPT vaultmp::State (*IsActorJumping)(vaultmp::ID);
native Bool:IsActorJumping(ID);
-
-
</code>
-
+
[/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] ([i]true[/i] - the [wiki]Actor[/wiki] is jumping, [i]false[/i] - the [wiki]Actor[/wiki] is not jumping).
-
+
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]
-
-
<code cpp>
-
+
[highlight=cpp]
-
vaultmp::State state;
state = IsActorJumping(actor);
-
-
</code>
-
+
[/highlight]
-
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Actor functions[/category]