GetBaseValue - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Gets the base value of the specified Actor Value from the Object Reference.


float Function GetBaseValue(ActorValue akAV) native


Return Value

The base value of the requested actor value.


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

ActorValue property HealthAV
; Obtain Bob's base health actor value
int bobsHealth = Bob.GetBaseValue(HealthAV)

See Also