Difference between revisions of "GetBaseActorValue"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Khadir
imported>Dev akm
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ActorFunction}}
'''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: Condition Functions]]
[[Category: Statistics Functions (CS 1.0)]]
 
 
<!-- Begin Search Terms
get
base
actor
Value
End Search Terms -->

Latest revision as of 14: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]