Description
Wiki Description
Obtains the actor value's current maximum (taking into account buffs and debuffs).
Documentation Comment
Gets the specified actor value's max, taking into account buffs/debuffs
Caveats
Parameters
Examples
; Obtain the player's current health maximum value
float playersHealth = Game.GetPlayer().GetActorValueMax("health")
if (playersHealth > 100)
Debug.Trace("The player has buffed their health at least once - or is under some effect buffing health")
endIf; Obtain Bob's current maximum health actor value
float bobsHealth = Bob.GetAVMax("Health")
if (bobsHealth < 10)
Debug.Trace("Bob is unlikely to live very long")
endIfAuto-Generated Example
string myString__asValueName
float returnedValue = myActor__toCallFunctionOn.GetActorValueMax(myString__asValueName)Related Pages
- Actor.GetActorValue(...)
- Actor.GetActorValuePercentage(...)
- Actor.GetBaseActorValue(...)
- Actor.DamageActorValue(...)
- Actor.ModActorValue(...)
- Actor.ForceActorValue(...)
- Actor.RestoreActorValue(...)
- Actor.SetActorValue(...)
- Actor Value List
- Actor
