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

GetActorMovingAnimation

This is an old revision of this page, as edited 09-30-2011, 02:49 PM by . It may differ significantly from the current revision.
Retrieves the current moving animation (see [[Actor animation]]) of an [[Actor]].

== Declaration ==
<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++) ==

<code cpp>
vaultmp::Index index;
index = GetActorMovingAnimation(actor);
</code>