This site has been archived and made available for preservation purposes. No edits can be made.
GetActorMovingAnimation
(Difference between revisions)
Return to current revision
-
-
Retrieves the current moving animation (see [[Actor animation]]) of an [[Actor]].
== Declaration ==
-
+
Retrieves the current moving animation (see [wiki]Actor animation[/wiki]) of an [wiki]Actor[/wiki].
[h="2"] Declaration [/h]
-
<code cpp>
VAULTSCRIPT vaultmp::Index (*GetActorMovingAnimation)(vaultmp::ID);
native GetActorMovingAnimation(ID);
</code>
-
-
== Parameters ==
'''[[ID|vaultmp::ID]]''' - the ID of the [[Actor]]
== Return value ==
Returns a [[Index|vaultmp::Index]] containing the [[Actor animation]].
== Usage example (C++) ==
-
+
[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="Index"]vaultmp::Index[/wiki] containing the [wiki]Actor animation[/wiki].
[h="2"] Usage example (C++) [/h]
-
<code cpp>
vaultmp::Index index;
index = GetActorMovingAnimation(actor);
-
-
</code>
-
+
</code>
[h="2"] Related pages [/h]
[list][*][wiki]AnimToString[/wiki]
[/LIST]
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Actor functions[/category]