Difference between revisions of "Talk:ScriptEffectUpdate"
Jump to navigation
Jump to search
script used
imported>ShadowDancer (tested some more, defining more info) |
imported>ShadowDancer (script used) |
||
Line 49: | Line 49: | ||
[[User:ShadowDancer|ShadowDancer]] 16:55, 7 July 2006 (EDT): '''Additional Info''': This block fires each time the effect "updates". In other words, after the effect is done running through a cycle (cycles consist of ramp up, birth time, and ramp down apparently). Running a spell script that runs an effectshader with a 0 duration produces 3 cycles, 1 duration produced 11 cycles, 2 duration produces 21 cycles, and 3 duration produces 28 cycles consistently. If there is no finish to the script effect, then it should fire every time that a cycle is complete. My test script shows a multi-layer effect if you try to run the effect shader again in the [[ScriptEffectUpdate]] block but it only builds so far and then stops (or else the slow down is so great that it only seems to stop), which makes some sense with it functioning like this rather than on every frame. | [[User:ShadowDancer|ShadowDancer]] 16:55, 7 July 2006 (EDT): '''Additional Info''': This block fires each time the effect "updates". In other words, after the effect is done running through a cycle (cycles consist of ramp up, birth time, and ramp down apparently). Running a spell script that runs an effectshader with a 0 duration produces 3 cycles, 1 duration produced 11 cycles, 2 duration produces 21 cycles, and 3 duration produces 28 cycles consistently. If there is no finish to the script effect, then it should fire every time that a cycle is complete. My test script shows a multi-layer effect if you try to run the effect shader again in the [[ScriptEffectUpdate]] block but it only builds so far and then stops (or else the slow down is so great that it only seems to stop), which makes some sense with it functioning like this rather than on every frame. | ||
'''Test Script:''' | |||
Script TrialEffect | |||
Begin ScriptEffectStart | |||
Player.PlayMagicShaderVisuals effectAtronachFlame | |||
End | |||
Begin ScriptEffectUpdate | |||
Set Count to Count + 1 | |||
End | |||
Begin ScriptEffectFinish | |||
Player.StopMagicShaderVisuals effectAtronachFlame | |||
End |