Difference between revisions of "ModActorValue"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Joshua121
imported>Joshua121
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:


This will permanently reduce Buddy's Perception by 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'''==
=='''Notes'''==
*Function also accepts floating point numbers.
*Function also accepts floating point numbers.
*This function makes permanent changes, for temporary changes use [[DamageActorValue]] or [[RestoreActorValue]]
*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: [http://cs.elderscrolls.com/constwiki/index.php/ModActorValue ModActorValue]
* Also see the TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/ModActorValue ModActorValue]


=='''See Also'''==
=='''See Also'''==

Latest revision as of 14:59, 11 March 2012

Description[edit | edit source]

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[edit | edit source]

[ActorREF.]ModActorValue ActorValue value
   or
[ActorREF.]ModAV ActorValue value

Examples[edit | edit source]

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[edit | edit source]

See Also[edit | edit source]

Stats List
DamageActorValue
RestoreActorValue
ForceActorValue
GetActorValue
GetActorValueInfo
GetBaseActorValue
GetPermanentActorValue
SetActorValue

Reference[edit | edit source]

None provided.