Difference between revisions of "GetBaseActorValue - Actor"

643 bytes added ,  10:05, 11 July 2017
m
imported>Jlundin
 
imported>Lisselli
 
(6 intermediate revisions by 4 users not shown)
Line 9: Line 9:
float Function GetBaseActorValue(string asValueName) native
float Function GetBaseActorValue(string asValueName) native
float Function GetBaseAV(string asValueName)
float Function GetBaseAV(string asValueName)
  return GetBaseActorValue(asValueName)
EndFunction
</source>
</source>


Line 27: Line 29:
int bobsHealth = Bob.GetBaseAV("Health")
int bobsHealth = Bob.GetBaseAV("Health")
</source>
</source>
== 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]]
* 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.


== See Also ==
== See Also ==
*[[Actor Value List]]
*[[GetActorValue - Actor]]
*[[Actor Script]]
*[[GetActorValuePercentage - Actor]]
*[[DamageActorValue - Actor]]
*[[DamageActorValue - Actor]]
*[[ModActorValue - Actor]]
*[[ForceActorValue - Actor]]
*[[ForceActorValue - Actor]]
*[[GetActorValue - Actor]]
*[[ModActorValue - Actor]]
*[[RestoreActorValue - Actor]]
*[[RestoreActorValue - Actor]]
*[[SetActorValue - Actor]]
*[[SetActorValue - Actor]]
*[[Actor Value List]]
*[[Actor Script]]
Anonymous user