Difference between revisions of "ScriptEffectFinish"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>ShadowDancer
m (formatting)
imported>ShadowDancer
(updating note with new info)
Line 5: Line 5:


'''Note:'''
'''Note:'''
* The '''ScriptEffectUpdate''' block will be processed before the '''ScriptEffectFinish''' block when the spell ends. If there is a '''Return''' statement in '''ScriptEffectUpdate''', then the '''ScriptEffectFinish''' block will never run.
* When the '''ScriptEffectUpdate''' block is placed before the '''ScriptEffectFinish''' block,  it ''<u>will</u>'' be processed before the '''ScriptEffectFinish''' block in the script as the spell ends. In this instance, if there is an active '''Return''' statement in '''ScriptEffectUpdate''', then the '''ScriptEffectFinish''' block will never run.
 


==See Also==
==See Also==

Revision as of 23:19, 24 August 2007

Usage

 begin ScriptEffectFinish 

Special block type used only by Magic Effect scripts. This block will run only once, after the scripted spell effect has ended.

Note:

  • When the ScriptEffectUpdate block is placed before the ScriptEffectFinish block, it will be processed before the ScriptEffectFinish block in the script as the spell ends. In this instance, if there is an active Return statement in ScriptEffectUpdate, then the ScriptEffectFinish block will never run.


See Also

ScriptEffectStart

ScriptEffectUpdate