GetBaseActorValue - Actor

Revision as of 14:24, 25 October 2011 by imported>Jlundin (→‎Syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

Gets the base value of the specified actor value from the actor.

Syntax

float Function GetBaseActorValue(string asValueName) native
float Function GetBaseAV(string asValueName)

Parameters

  • asValueName: The name of the actor value to get the base value of. Actor Value List

Return Value

The base value of the requested actor value.

Examples

; Obtain the player's base health actor value
int playersHealth = Game.GetPlayer().GetBaseActorValue("health")


; Obtain Bob's base health actor value
int bobsHealth = Bob.GetBaseAV("Health")

See Also