This is an old revision of this page, as edited 09-30-2011, 02:46 PM by . It may differ significantly from the
current revision.
Retrieves the current value of an [[Actor value]].
== Declaration ==
<code cpp>
VAULTSCRIPT vaultmp::Value (*GetActorValue)(vaultmp::ID, vaultmp::Index);
native Float:GetActorValue(ID, index);
</code>
== Parameters ==
'''[[ID|vaultmp::ID]]''' - the ID of the [[Actor]]
'''[[Index|vaultmp::Index]]''' - the index of the [[Actor value]]
== Return value ==
Returns a [[Value|vaultmp::Value]] containing the value.
== Usage example (C++) ==
<code cpp>
vaultmp::Value value;
value = GetActorValue(actor, index);
</code>