Difference between revisions of "MessageBox Tutorial/Spell Scripts"

Jump to navigation Jump to search
m
no edit summary
imported>Haama
(→‎Multiple Menus in a Spell Script: Removed warning on multiple menus)
imported>Haama
m
end</pre>
 
'''==Notes:'''==
* Using multiple menus, or catching a button press with [[GetButtonPressed]] in a magic effect script requires that the spell duration be more than 0 in order for '''GetButtonPressed''' to capture the button.
* The [[ScriptEffectFinish]] block will always run immediately after the last running of the [[ScriptEffectUpdate]] block. Due to this, if the '''ScriptEffectUpdate''' block has a '''Return''' statement that fires at this point of the script, the '''ScriptEffectFinish''' block will not run.
Anonymous user

Navigation menu