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.

Syntax

float Function GetBaseValue(ActorValue akAV) native

Parameters

Return Value

The base value of the requested actor value.

Examples

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