Difference between revisions of "SetActorValue"
Jump to navigation
Jump to search
imported>JOG |
imported>Haama (CS 1.0 stuff) |
||
| Line 22: | Line 22: | ||
[[ForceActorValue]] |
[[ForceActorValue]] |
||
| ⚫ | |||
[[Category: Functions]] |
[[Category: Functions]] |
||
[[Category: |
[[Category: Functions (CS 1.0)]] |
||
[[Category:Actor Functions]] |
[[Category:Actor Functions]] |
||
[[Category:Actor Functions (CS 1.0)]] |
|||
| ⚫ | |||
[[Category: Actor Value Functions (CS 1.0)]] |
|||
[[Category: Statistics Functions]] |
|||
[[Category: Statistics Functions (CS 1.0)]] |
|||
Revision as of 14:57, 8 August 2007
Syntax:
SetActorValue StatName value SetAV StatName value
Example:
SetActorValue Strength 60 Player.SetActorValue Alteration 50
SetActorValue sets the stat's base value to the new value.
NOTE: Although called on a reference, this function actually changes the value on the base actor (thus the base value on all references of that base actor). Note also that ModActorValue modifies the stat value only on the reference, and so is usually preferable.