Difference between revisions of "ModActorValue2"
no edit summary
imported>Talkie Toaster |
imported>Talkie Toaster |
||
Line 10: | Line 10: | ||
ModActorValue2 modifies the current value of the stat by the specified value, without affecting the base value of the stat. Be aware that the value is an unrounded integer; ModAV2 StatName 3.9 would result in a 3 point change. | ModActorValue2 modifies the current value of the stat by the specified value, without affecting the base value of the stat. Be aware that the value is an unrounded integer; ModAV2 StatName 3.9 would result in a 3 point change. | ||
Of critical note is that attempting to mod positive-only stats like health and attributes to negative values will cause the game to crash to desktop. | |||
Other than [[ModActorValue]], this function acts exactly like spells: | Other than [[ModActorValue]], this function acts exactly like spells: |