This site has been archived and made available for preservation purposes. No edits can be made.
GetActorBaseValue
(Difference between revisions)
Return to current revision
-
-
Retrieves the current base value of an [[Actor value]].
== Declaration ==
<code cpp>
VAULTSCRIPT vaultmp::Value (*GetActorBaseValue)(vaultmp::ID, vaultmp::Index);
native Float:GetActorBaseValue(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 base value.
== Usage example (C++) ==
<code cpp>
vaultmp::Value value;
value = GetActorBaseValue(actor, index);
</code>