GetValue - ObjectReference

Member of: ObjectReference Script

Gets the specified Actor Value from the Object Reference.

SyntaxEdit

float Function GetValue(ActorValue akAV) native

ParametersEdit

Return ValueEdit

The value of the requested Actor Value.

ExamplesEdit

ActorValue property HealthAV
; Obtain the player's current health actor value
int playersHealth = Game.GetPlayer().GetValue(HealthAV) as int


ActorValue property HealthAV
; Obtain Bob's current health actor value
int bobsHealth = Bob.GetValue(HealthAV) as int

See AlsoEdit