Difference between revisions of "ScriptEffectFinish"
m
no edit summary
imported>Quetzilla |
imported>Quetzilla m |
||
Line 6: | Line 6: | ||
'''Note:''' | '''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. | * 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. | ||
== Constant Enchantments == | == Constant Enchantments == | ||
Unfortunately, this block won't fire when used as a scripted effect for constant (apparel) enchantments. If you have access to the item script, you can emulate the functionality by using the OnEquip block of the item itself. | Unfortunately, this block won't fire when used as a scripted effect for constant (apparel) enchantments. If you have access to the item script, you can emulate the functionality by using the OnEquip block of the item itself. | ||
==See Also== | ==See Also== |