Difference between revisions of "Category:Actor Value Functions"
Jump to navigation
Jump to search
imported>JOG (Hopefully this puts away some of the confusion.) |
imported>JRoush m (changed 'Offset' to 'Script' to reflect OBSE useage) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
There are several functions to access and modify an actor's stats. | There are several functions to access and modify an actor's [[Stats_List|stats]]. | ||
{|border="1" cellpadding="5" cellspacing="0" | {|border="1" cellpadding="5" cellspacing="0" | ||
Line 7: | Line 7: | ||
! style="background:#efefef;" | <center> Stat Color</center> | ! style="background:#efefef;" | <center> Stat Color</center> | ||
|- | |- | ||
|'''Get''' the ''' | |'''Get''' the '''Calculated Base value''' | ||
( | (value from base form + calculated factor from game settings, other AVs, etc.) | ||
|[[GetBaseActorValue]] / [[GetBaseActorValue|GetBaseAv]] | |[[GetBaseActorValue]] / [[GetBaseActorValue|GetBaseAv]] | ||
|<center>-</center> | |<center>-</center> | ||
|- | |- | ||
|'''Set''' the | |'''Set''' the the '''Base value''' to a specific number | ||
( | (the value from the base form, with no modifiers or calculated factors) | ||
|[[SetActorValue]] / [[SetActorValue|SetAv]] | |[[SetActorValue]] / [[SetActorValue|SetAv]] | ||
|<center><font color="Blue">Blue</font></center> | |<center><font color="Blue">Blue</font></center> | ||
<center> ("Unmodified")</center> | <center> ("Unmodified")</center> | ||
|- | |||
|'''Get''' the '''Current value''' | |||
(Including all modifiers and calculated factors) | |||
|[[GetActorValue]] / [[GetActorValue|GetAv]] | |||
|<center>-</center> | |||
|- | |- | ||
|''' | |'''Set''' the '''Current value''' to a specific number | ||
( | (The ''console'' version changes the Damage modifier, the ''script'' version changes the Script modifier) | ||
|[[ForceActorValue]] / [[ForceActorValue|ForceAv]] | |[[ForceActorValue]] / [[ForceActorValue|ForceAv]] | ||
|<center> <font color="Blue">Blue</font></center> | |<center><font color="Red">Red</font> / <font color="Green">Green</font> / <font color="Blue">Blue</font></center> | ||
<center> (" | <center>("Modified" / "Restored")</center> | ||
|- | |- | ||
|'''Add''' a certain value to the ''' | |'''Add''' a certain value to the '''Current value''' | ||
( | (The ''console'' version changes the Damage modifier, the ''script'' version changes the Script modifier) | ||
|[[ModActorValue]] / [[ModActorValue|ModAv]] | |[[ModActorValue]] / [[ModActorValue|ModAv]] | ||
|<center><font color="Red">Red</font> / <font color="Green">Green</font></center> | |<center><font color="Red">Red</font> / <font color="Green">Green</font> / <font color="Blue">Blue</font></center> | ||
<center>("Modified")</center> | <center>("Modified" / "Restored")</center> | ||
|- | |||
|'''Add''' a certain value to the '''Current value''' | |||
(Changes the Damage modifier) | |||
|[[ModActorValue2]] / [[ModActorValue2|ModAv2]] | |||
; (OBSE) | |||
|<center><font color="Red">Red</font> / <font color="Blue">Blue</font></center> | |||
<center>("Damaged" / "Restored")</center> | |||
|} | |} | ||
See the [[Actor Values]] page for details on the various Modifiers. | |||
[[Category: Function Types]] | |||
[[Category: Statistics Functions]] | |||
Latest revision as of 22:58, 9 November 2011
There are several functions to access and modify an actor's stats.
Usage | ||
---|---|---|
Get the Calculated Base value
(value from base form + calculated factor from game settings, other AVs, etc.) |
GetBaseActorValue / GetBaseAv | |
Set the the Base value to a specific number
(the value from the base form, with no modifiers or calculated factors) |
SetActorValue / SetAv | |
Get the Current value
(Including all modifiers and calculated factors) |
GetActorValue / GetAv | |
Set the Current value to a specific number
(The console version changes the Damage modifier, the script version changes the Script modifier) |
ForceActorValue / ForceAv | |
Add a certain value to the Current value
(The console version changes the Damage modifier, the script version changes the Script modifier) |
ModActorValue / ModAv | |
Add a certain value to the Current value
(Changes the Damage modifier) |
ModActorValue2 / ModAv2
|
See the Actor Values page for details on the various Modifiers.
Subcategories
This category has the following 3 subcategories, out of 3 total.
A
C
O
Pages in category "Actor Value Functions"
The following 55 pages are in this category, out of 55 total.