ModActorValue

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Permanently alters the Actor Value. The modifier may be positive or negative.

Syntax

[help]
[Actor].ModActorValue ActorValue:statName Value:int 

Or:

[Actor].ModAV ActorValue:statName Value:int

Example

Player.ModActorValue Strength 3

This will permanently increase Player's Strength by 3

Player.ModActorValue Perception -1

This will permanently reduce Player's Perception by 1

Notes

  • This function makes permanent changes, for temporary changes use DamageActorValue or RestoreActorValue
  • A modification by ModActorValue can exceed the maximum cap of some actor values such as with skills.

See Also