Gets called when an
Actor's base value has changed.
Code cpp:
VAULTSCRIPT vaultmp::Void OnActorBaseValueChange(vaultmp::ID, vaultmp::Index, vaultmp::Value);
forward OnActorBaseValueChange(ID, index, Float:value);
vaultmp::ID - the ID of the
Actor
vaultmp::Index - the index of the
Actor value
vaultmp::Value - the new base value
None.
Code cpp:
vaultmp::Void VAULTSCRIPT OnActorBaseValueChange(vaultmp::ID actor, vaultmp::Index index, vaultmp::Value value)
{
vaultmp::String value_name;
value_name = ValueToString(index);
// value_name now contains the string representation of the actor value
}