ModActorValue

From the Fallout3 GECK Wiki
Revision as of 14:58, 11 March 2012 by imported>Joshua121 (→‎Notes)
Jump to navigation Jump to search

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

See Also

Stats List
DamageActorValue
RestoreActorValue
ForceActorValue
GetActorValue
GetActorValueInfo
GetBaseActorValue
GetPermanentActorValue
SetActorValue

Reference

None provided.