SetActorValue

From the Oblivion ConstructionSet Wiki
Revision as of 11:10, 2 March 2006 by imported>Maturin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

SetActorValue StatName value
SetAV StatName value

Example:

SetActorValue Strength 60 

SetActorValue sets the stat's base value to the new value.

NOTE: Although called on a reference, this function actually changes the value on the base actor (thus the base value on all references of that base actor). Note also that ModActorValue modifies the stat value only on the reference, and so is usually preferable.


See Also

Stats List

GetActorValue

ModActorValue