Mod:Creation Kit/GetValue - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Gets the specified Actor Value from the Object Reference.

Syntax
float Function GetValue(ActorValue akAV) native

Parameters

 * akAV: The Actor Value to get the value of. Mod:Creation Kit/Actor Value

Return Value
The value of the requested Actor Value.

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