Background for Fallout 4
Member of the ObjectReference script
floatfunctionGetBaseValue(ActorValueakAV)Native

Description

Wiki Description

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

Documentation Comment

Gets the base value of the specified actor value - returns 0 and logs an error if the value is unknown


Caveats


Parameters

ActorValueakAV

CK Wiki Description

The Actor Value to get the base value of. Actor Value List


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)

Auto-Generated Example

ActorValue myActorValue__akAV

float returnedValue = myObjectReference__toCallFunctionOn.GetBaseValue(myActorValue__akAV)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.