Gets called when an
Actor's value has changed.
<code cpp>
VAULTSCRIPT void OnActorValueChange(vaultmp::ID, vaultmp::Index, vaultmp::Value);
forward OnActorValueChange(ID, index, Float:value);
</code>
vaultmp::ID - the ID of the
Actor
vaultmp::Index - the index of the
Actor value
vaultmp::Value - the new value
None.
<code cpp>
void VAULTSCRIPT OnActorValueChange(vaultmp::ID actor, vaultmp::Index index, vaultmp::Value value)
{
std::string value_name;
value_name = ValueToString(index);
// value_name now contains the string representation of the actor value
}
</code>