Difference between revisions of "ModActorValue"
Jump to navigation
Jump to search
imported>Joshua121 |
imported>Joshua121 (→Notes) |
||
Line 23: | Line 23: | ||
*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]] | ||
* 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'''== |
Revision as of 14:58, 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
- Also see the TES4 Construction Set Wiki: ModActorValue
See Also
Stats List
DamageActorValue
RestoreActorValue
ForceActorValue
GetActorValue
GetActorValueInfo
GetBaseActorValue
GetPermanentActorValue
SetActorValue
Reference
None provided.