Difference between revisions of "GetBaseActorValue - Actor"
Jump to navigation
Jump to search
imported>Phinix |
imported>Phinix |
||
Line 33: | Line 33: | ||
== See Also == | == See Also == | ||
*[[GetActorValue - Actor]] | *[[GetActorValue - Actor]] | ||
*[[GetActorValuePercentage - Actor]] | *[[GetActorValuePercentage - Actor]] | ||
*[[DamageActorValue - Actor]] | |||
*[[ModActorValue - Actor]] | *[[ModActorValue - Actor]] | ||
*[[ForceActorValue - Actor]] | |||
*[[RestoreActorValue - Actor]] | *[[RestoreActorValue - Actor]] | ||
*[[SetActorValue - Actor]] | *[[SetActorValue - Actor]] | ||
*[[Actor Value List]] | |||
*[[Actor Script]] |
Revision as of 00:18, 24 June 2013
Member of: Actor Script
Gets the base value of the specified actor value from the actor.
Syntax
float Function GetBaseActorValue(string asValueName) native
float Function GetBaseAV(string asValueName)
Parameters
- asValueName: The name of the actor value to get the base value of. Actor Value List
Return Value
The base value of the requested actor value.
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")
Notes
- To get the current value instead of the base value see GetActorValue - Actor.
- GetBaseActorValue - Actor 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 GetActorValuePercentage - Actor