GetBaseValue - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

float Function GetBaseValue(ActorValue akAV) native

Parameters[edit | edit source]

Return Value[edit | edit source]

The base value of the requested actor value.

Examples[edit | edit source]

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[edit | edit source]