Category:Actor Value Functions

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

There are several functions to access and modify an actor's stats.

Usage
Function
Stat Color
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
Blue
("Unmodified")
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
Red / Green / Blue
("Modified" / "Restored")
Add a certain value to the Current value

(The console version changes the Damage modifier, the script version changes the Script modifier)

ModActorValue / ModAv
Red / Green / Blue
("Modified" / "Restored")
Add a certain value to the Current value

(Changes the Damage modifier)

ModActorValue2 / ModAv2
(OBSE)
Red / Blue
("Damaged" / "Restored")

See the Actor Values page for details on the various Modifiers.