This is an old revision of this page, as edited 09-30-2011, 02:41 PM by . It may differ significantly from the
current revision.
Retrieves the string representation of an [[Actor animation]].
== Declaration ==
<code cpp>
VAULTSCRIPT std::string (*AnimToString)(vaultmp::Index);
native AnimToString(index, value{});
</code>
== Parameters ==
'''[[Index|vaultmp::Index]]''' - the index of the [[Actor animation]]
'''value''' (PAWN only) - an array large enough to hold at least 64 characters
== Return value ==
The C++ version returns a std::string containing the string representation of the actor animation. The PAWN version has no return value.
== Usage example (C++) ==
<code cpp>
std::string value;
value = AnimToString(index);
</code>
== Usage example (PAWN) ==
<code c>
new value{64};
AnimToString(index, value);
</code>