Difference between revisions of "ModActorValue"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Joshua121
 
(3 intermediate revisions by 2 users not shown)
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
 
* See [[Stats List]] for a list of stats that can be accessed using ModActorValue.
 
=='''Notes'''==
*Function also accepts floating point numbers.
*This function makes permanent changes, for temporary changes use [[DamageActorValue]] or [[RestoreActorValue]]
* 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]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Actor Value Functions]]
[[Category:Actor Value Functions]]
[[Category:Actor Value Functions (GECK 1.0)]]
[[Category:Actor Value Functions (GECK 1.1)]]
[[Category:Godsend Functions]]
[[Category:Godsend Functions (GECK 1.1)]]

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.