Difference between revisions of "Talk:ScriptEffectUpdate"

Jump to navigation Jump to search
183 bytes added ,  16:59, 7 July 2006
tested some more, defining more info
imported>ShadowDancer
(more info on ScriptEffectUpdate)
imported>ShadowDancer
(tested some more, defining more info)
Line 48: Line 48:
</pre>
</pre>


[[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 (not sure if the cycle is the full cycle or if the cycle is the ramp up, then the full effect, and then the ramp down - needs further testing).  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, 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.
Anonymous user

Navigation menu