VirtualSpace Posted March 11, 2011 Share Posted March 11, 2011 I want to delay some spell effects from having an effect upon a target in a magic effect script. I've tried starting a timer in ScriptEffectUpdate, although it doesn't seem to work (I can only assume that ScriptEffectUpdate runs for 1 frame), and OnMagicEffectHit doesn't work in magic effect scripts. Can anyone suggest anything that may be of any help? Link to comment Share on other sites More sharing options...
fg109 Posted March 11, 2011 Share Posted March 11, 2011 ScriptEffectUpdate is supposed to run for the duration of the spell. When you added your script to a spell, did you remember to set the duration of the spell longer than however long the timer is supposed to run for? Link to comment Share on other sites More sharing options...
whalecakes Posted March 11, 2011 Share Posted March 11, 2011 Script effects themselves can be used as timers if you use the ScriptEffectFinish block. Link to comment Share on other sites More sharing options...
VirtualSpace Posted March 11, 2011 Author Share Posted March 11, 2011 Many thanks guys. It seems that the duration of the effect was set to 0. Link to comment Share on other sites More sharing options...
Recommended Posts