This site has been archived and made available for preservation purposes. No edits can be made.

GetActorBaseValue

This is an old revision of this page, as edited 09-30-2011, 02:47 PM by . It may differ significantly from the 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>