Difference between revisions of "GetBaseActorValue"
Jump to navigation
Jump to search
imported>Khadir |
imported>Dev akm (→Notes) |
||
(8 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
[''ActorID''.]GetBaseActorValue ''StatName'' | [''ActorID''.]GetBaseActorValue ''StatName'' | ||
Line 7: | Line 6: | ||
Returns the base value of the specified stat. To see the current, modified value, use [[GetActorValue]]. | Returns the base value of the specified stat. To see the current, modified value, use [[GetActorValue]]. | ||
==Notes== | |||
*This function does '''not''' accurately report the unmodified base value of stats that are changed by constant ability fortify effects. To get the true base value, you'll have to check for any constant ability fortify effects and subtract them from the result of GetBaseAV. See [[Common_Mistakes#GetBaseActorValue_Includes_Ability_Fortify_Effects|Troubleshooting: Common Mistakes]]. | |||
==See Also== | ==See Also== | ||
Line 12: | Line 15: | ||
* [[GetActorValue]] | * [[GetActorValue]] | ||
[[Category: Functions]] | |||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category:Actor Functions]] | |||
[[Category:Actor Functions (CS 1.0)]] | |||
[[Category: Actor Value Functions]] | [[Category: Actor Value Functions]] | ||
[[Category: Functions]] | [[Category: Actor Value Functions (CS 1.0)]] | ||
[[Category: Condition Functions]] | |||
[[Category: Condition Functions (CS 1.0)]] | |||
[[Category: Statistics Functions]] | [[Category: Statistics Functions]] | ||
[[Category: | [[Category: Statistics Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
get | |||
base | |||
actor | |||
Value | |||
End Search Terms --> |
Latest revision as of 13:31, 2 April 2009
Syntax:
[ActorID.]GetBaseActorValue StatName [ActorID.]GetBaseAV StatName
Example:
GetBaseActorValue Health
Returns the base value of the specified stat. To see the current, modified value, use GetActorValue.
Notes[edit | edit source]
- This function does not accurately report the unmodified base value of stats that are changed by constant ability fortify effects. To get the true base value, you'll have to check for any constant ability fortify effects and subtract them from the result of GetBaseAV. See Troubleshooting: Common Mistakes.
See Also[edit | edit source]