Difference between revisions of "Category:Actor Value Functions"
Jump to navigation
Jump to search
imported>JOG m |
imported>JOG m |
||
Line 6: | Line 6: | ||
! style="background:#efefef;" | <center> Function</center> | ! style="background:#efefef;" | <center> Function</center> | ||
! style="background:#efefef;" | <center> Stat Color</center> | ! style="background:#efefef;" | <center> Stat Color</center> | ||
|- | |- | ||
|'''Get''' the unmodified '''base value''' | |'''Get''' the unmodified '''base value''' | ||
Line 16: | Line 11: | ||
|[[GetBaseActorValue]] / [[GetBaseActorValue|GetBaseAv]] | |[[GetBaseActorValue]] / [[GetBaseActorValue|GetBaseAv]] | ||
|<center>-</center> | |<center>-</center> | ||
|- | |||
|'''Get''' the '''current''' ingame value | |||
(Including damage and all magical modifiers) | |||
|[[GetActorValue]] / [[GetActorValue|GetAv]] | |||
|<center>-</center> | |||
|- | |- | ||
|'''Set''' the stat's '''base value''' to a specific number | |'''Set''' the stat's '''base value''' to a specific number | ||
Line 23: | Line 23: | ||
<center> ("Unmodified")</center> | <center> ("Unmodified")</center> | ||
|- | |- | ||
|''' | |'''Set''' the '''current''' ingame value to a specific number | ||
( | (Including damage and magical modifiers) | ||
|[[ForceActorValue]] / [[ForceActorValue|ForceAv]] | |[[ForceActorValue]] / [[ForceActorValue|ForceAv]] | ||
|<center> <font color=" | |<center><font color="Red">Red</font> / <font color="Green">Green</font></center> | ||
<center> (" | <center>("Modified")</center> | ||
|- | |- | ||
|'''Add''' a certain value to the '''current value''' | |'''Add''' a certain value to the '''current value''' |
Revision as of 09:56, 14 June 2006
There are several functions to access and modify an actor's stats.
Usage | ||
---|---|---|
Get the unmodified base value
(At full health without any modifiers) |
GetBaseActorValue / GetBaseAv | |
Get the current ingame value
(Including damage and all magical modifiers) |
GetActorValue / GetAv | |
Set the stat's base value to a specific number
(before any other modifiers apply) |
SetActorValue / SetAv | |
Set the current ingame value to a specific number
(Including damage and magical modifiers) |
ForceActorValue / ForceAv | |
Add a certain value to the current value
(In addition to damage and magical modifiers) |
ModActorValue / ModAv |
Notes:
- The value you see in game is the base value plus three modifiers:
- Game Modifier used for "permanent" effects such as Damage and Restore.
- Magic Modifier used for used for "temporary", dispellable magic-effects such as Drain and Fortify.
- Script Modifier used for "temporary" non-dispellable scripted-effects like blessings and curses. ModActorValue changes only the script modifier.
- Changes done by these functions can't be undone by ingame means like natural healing or magic. You need to undo them by script.
- In a script these Functions behave like described above, in the console they show a different behavior because they were used by Bethesda for testing purposes. See the explanations for ModActorValue.
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.