Difference between revisions of "MessageBox Tutorial"
Jump to navigation
Jump to search
→Multiple Menus in a Spell Script: Removed Returns
imported>Haama (→Multiple Menus in a Spell Script: That should work) |
imported>Haama (→Multiple Menus in a Spell Script: Removed Returns) |
||
|
set MenuVariables.Choosing to 0
set MenuVariables.Choice to 0
Set Choosing to 1
Set Choice to GetButtonPressed
Elseif (Choosing == 1)
Set Choosing to -2 ;Following menu (choosing == -2)
Endif
Elseif (Choosing == -2) ;Gold menu
Set Choosing to 2
Set Choice to GetButtonPressed
Elseif (Choosing == 2)
Set Choosing to 0 ;to close the menus
Endif
| |||