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

GetActorValue

This is an old revision of this page, as edited 04-06-2012, 03:24 PM by foxtacles (contribs). It may differ significantly from the current revision.
Retrieves the current value of an Actor value.

[top]Declaration

<code cpp>
VAULTSCRIPT vaultmp::Value (*GetActorValue)(vaultmp::ID, vaultmp::Index);
native Float:GetActorValue(ID, index);
</code>

[top]Parameters

vaultmp::ID - the ID of the Actor
vaultmp::Index - the index of the Actor value

[top]Return value

Returns a vaultmp::Value containing the value.

[top]Usage example (C++)

<code cpp>
vaultmp::Value value;
value = GetActorValue(actor, index);
</code>