GetBaseValue - ObjectReference
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]
- akAV: The Actor Value to get the base value of. Actor Value List
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)