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

GetActorBaseValue

(Difference between revisions)
Return to current revision
  1. +
    Retrieves the current base value of an [wiki]Actor value[/wiki].
    [h="2"] Declaration [/h]
    <code cpp>
    VAULTSCRIPT vaultmp::Value (*GetActorBaseValue)(vaultmp::ID, vaultmp::Index);
    native Float:GetActorBaseValue(ID, index);
    </code>
    [h="2"] Parameters [/h]
    [b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
    [b][wiki="Index"]vaultmp::Index[/wiki][/b] - the index of the [wiki]Actor value[/wiki]
    [h="2"] Return value [/h]
    Returns a [wiki="Value"]vaultmp::Value[/wiki] containing the base value.
    [h="2"] Usage example (C++) [/h]
    <code cpp>
    vaultmp::Value value;
    value = GetActorBaseValue(actor, index);
    </code>
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Actor functions[/category]