ModActorValue

From the Fallout3 GECK Wiki
Revision as of 14:59, 11 March 2012 by imported>Joshua121 (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  • See Stats List for a list of stats that can be accessed using ModActorValue.

Notes

See Also

Stats List
DamageActorValue
RestoreActorValue
ForceActorValue
GetActorValue
GetActorValueInfo
GetBaseActorValue
GetPermanentActorValue
SetActorValue

Reference

None provided.