Difference between revisions of "GetActorValue - Actor"

237 bytes removed ,  14:09, 21 June 2018
m
→‎Notes: those are the same thing
imported>Phinix
imported>DavidJCobb
m (→‎Notes: those are the same thing)
 
(3 intermediate revisions by 3 users not shown)
Line 8: Line 8:
<source lang="papyrus">
<source lang="papyrus">
float Function GetActorValue(string asValueName) native
float Function GetActorValue(string asValueName) native
float Function GetAV(string asValueName) native
float Function GetAV(string asValueName)
  return GetActorValue(asValueName)
EndFunction
</source>
</source>


Line 30: Line 32:
== Notes ==
== Notes ==
*GetActorValue is slightly faster than GetAV as it is native.
*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]].
*This function returns the current value as opposed to the base (maximum) value. To get the base value see [[GetBaseActorValue - 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]]


== See Also ==
== See Also ==
*[[Actor Value List]]
*[[Actor Script]]
*[[DamageActorValue - Actor]]
*[[ForceActorValue - Actor]]
*[[GetBaseActorValue - Actor]]
*[[GetBaseActorValue - 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]]
Anonymous user