Difference between revisions of "Scripting MagicEffect"
no edit summary
imported>Qazaaq m (removed user names and moved some script comments to the wiki page.) |
imported>Qazaaq |
||
Line 5: | Line 5: | ||
ActionPoints are used here, but any ActorValue - including custom ones - can be applied. | ActionPoints are used here, but any ActorValue - including custom ones - can be applied. | ||
==Script== | |||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Scriptname aaaDynamicIncrementModule extends activemagiceffect | Scriptname aaaDynamicIncrementModule extends activemagiceffect | ||
Line 54: | Line 54: | ||
</source> | </source> | ||
==Usage== | |||
The dynamic Looping Increment script is meant to be used in tandem with [[Magic Effect]]s; it will increment 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. | The dynamic Looping Increment script is meant to be used in tandem with [[Magic Effect]]s; it will increment 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. |