Difference between revisions of "ScriptEffectFinish"

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


'''Note:'''
'''Note:'''
* 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.
* A '''ScriptEffectUpdate''' block with an active '''Return''' statement placed before a '''ScriptEffectFinish''' block in a Magic Effect script will prevent the '''ScriptEffectFinish''' block from running when the Magic Effect script ends.
 


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

Revision as of 23:51, 25 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:

  • A ScriptEffectUpdate block with an active Return statement placed before a ScriptEffectFinish block in a Magic Effect script will prevent the ScriptEffectFinish block from running when the Magic Effect script ends.

See Also

ScriptEffectStart

ScriptEffectUpdate