Mod:Creation Kit/Scripting MagicEffect

This example script can be attached to a Magic Effect and create a looping incremental effect that will increment for the entire duration of the effect, and then either stop or be removed, depending on user preference. ActionPoints are used here, but any ActorValue - including custom ones - can be applied.

Usage
The dynamic Looping Change script is meant to be used in tandem with Magic Effects; it will change a chosen Actor Value for the duration of the Magic Effect, at a frequency indicated by the user. This is useful for situations where a magic effect is intended to increase or decrease an actor value within the duration of the effect, rather than immediately "jump" to a particular value as is only allowed for by default behavior.