ModActorValue
Revision as of 14:57, 11 March 2012 by imported>Joshua121
Description
ModActorValue is called on a Reference and takes two parameters, an ActorValue and a value. The Function permanently alters the actor value. The modifier may be positive or negative.
Syntax
[ActorREF.]ModActorValue ActorValue value or [ActorREF.]ModAV ActorValue value
Examples
BuddyRef.ModActorValue Strength 2
This will permanently increase Buddy's Strength by 2
BuddyRef.ModActorValue Perception -1
This will permanently reduce Buddy's Perception by 1
Notes
- Function also accepts floating point numbers.
- This function makes permanent changes, for temporary changes use DamageActorValue or RestoreActorValue
- See Stats List for a list of stats that can be accessed using ModActorValue.
- Also see the TES4 Construction Set Wiki: ModActorValue
See Also
Stats List
DamageActorValue
RestoreActorValue
ForceActorValue
GetActorValue
GetActorValueInfo
GetBaseActorValue
GetPermanentActorValue
SetActorValue
Reference
None provided.