Category:Actor Value Functions
From The Elder Scrolls Construction Set Wiki
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 | |
| Set the stat's base value to a specific number
(before any other modifiers apply) | SetActorValue / SetAv | |
| Get the current ingame value
(Including damage and all magical modifiers) | GetActorValue / GetAv | |
| 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 | |
| Damage or Restore the current value
(In form of damage or magical restoration) | ModActorValue2 / ModAv2
|
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 and ForceActorValue change 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.
Subcategories
There are 3 subcategories to this category.
A
C
O
Articles in category "Actor Value Functions"
There are 56 articles in this category.
CFG |
G cont.HI
M |
RS |

