Description
Wiki Description
Gets the base value of the specified actor value from the actor.
Documentation Comment
Gets the base value of the specified actor value - returns 0 and logs an error if the value is unknown
Caveats
CK Wiki - Notes
- To get the current value instead of the base value see Actor.GetActorValue(...).
- Actor.GetBaseActorValue(...) returns the possible max value of a stat BEFORE buffs. To get the player's current percent of a stat after buffs (with examples how to get the max buffed value or a percent of the max buffed value of a stat as well), see Actor.GetActorValuePercentage(...)
- This returns the value of an actor value as seen in the editor, as well as any changes made to it via skill ups, leveling up(health, etc), or even through the console.
Parameters
stringasValueName
CK Wiki Description
The name of the actor value to get the base value of. Actor Value List
Examples
; Obtain the player's base health actor value
int playersHealth = Game.GetPlayer().GetBaseActorValue("health"); Obtain Bob's base health actor value
int bobsHealth = Bob.GetBaseAV("Health")Auto-Generated Example
string myString__asValueName
float returnedValue = myActor__toCallFunctionOn.GetBaseActorValue(myString__asValueName)Related Pages
- Actor.GetActorValue(...)
- Actor.GetActorValuePercentage(...)
- Actor.DamageActorValue(...)
- Actor.ModActorValue(...)
- Actor.ForceActorValue(...)
- Actor.RestoreActorValue(...)
- Actor.SetActorValue(...)
- Actor Value List
- Actor
