Category:Actor Value Functions

Revision as of 22:03, 17 July 2010 by imported>JRoush (Clarify how the functions modify the AV (which modifier/factor they affect))

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 Offset 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 Offset 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.