GetActorValue - Actor
Member of: Actor Script
Gets the specified actor value from the actor.
float Function GetActorValue(string asValueName) native float Function GetAV(string asValueName) native
- asValueName: The name of the actor value to get the value of. Actor Value List
The value of the requested actor value.
; Obtain the player's current health actor value Float fPlayerHealth = Game.GetPlayer().GetActorValue("Health")
; Obtain Bob's current health actor value Float fBobSneak = Bob.GetAV("Sneak")
- GetActorValue is slightly faster than GetAV as it is native.
- This function returns the current value as opposed to the base value. To get the base value see GetBaseActorValue - Actor.