Difference between revisions of "ModActorValue"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Joshua121
Line 1: Line 1:
{{Incomplete}}
=='''Description'''==


Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/ModActorValue ModActorValue]
'''[[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.


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


===See Also===
=='''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: [http://cs.elderscrolls.com/constwiki/index.php/ModActorValue ModActorValue]
 
 
=='''See Also'''==
[[Stats List]]<br>
[[Stats List]]<br>
[[DamageActorValue]]<br>
[[RestoreActorValue]]<br>
[[ForceActorValue]]<br>
[[ForceActorValue]]<br>
[[GetActorValue]]<br>
[[GetActorValue]]<br>
Line 12: Line 36:
[[GetBaseActorValue]]<br>
[[GetBaseActorValue]]<br>
[[GetPermanentActorValue]]<br>
[[GetPermanentActorValue]]<br>
[[RestoreActorValue]]<br>
[[SetActorValue]]<br>
[[SetActorValue]]
 
=='''Reference'''==
None provided.
<!-- [[RestoreActorValue_Reference|List of functions that use RestoreActorValue]] (wiki) -->


[[Category:Functions]]
[[Category:Functions]]
Line 19: Line 46:
[[Category:Actor Value Functions]]
[[Category:Actor Value Functions]]
[[Category:Actor Value Functions (GECK 1.1)]]
[[Category:Actor Value Functions (GECK 1.1)]]
[[Category:Godsend Functions]]
[[Category:Godsend Functions (GECK 1.1)]]

Revision as of 14:57, 11 March 2012

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.