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) |
||
Line 351: | Line 351: | ||
set MenuVariables.Choosing to 0 | set MenuVariables.Choosing to 0 | ||
set MenuVariables.Choice to 0 | set MenuVariables.Choice to 0 | ||
Line 358: | Line 357: | ||
Set Choosing to 1 | Set Choosing to 1 | ||
Set Choice to GetButtonPressed | Set Choice to GetButtonPressed | ||
Elseif (Choosing == 1) | Elseif (Choosing == 1) | ||
Line 374: | Line 372: | ||
Set Choosing to -2 ;Following menu (choosing == -2) | Set Choosing to -2 ;Following menu (choosing == -2) | ||
Endif | Endif | ||
Elseif (Choosing == -2) ;Gold menu | Elseif (Choosing == -2) ;Gold menu | ||
Line 380: | Line 377: | ||
Set Choosing to 2 | Set Choosing to 2 | ||
Set Choice to GetButtonPressed | Set Choice to GetButtonPressed | ||
Elseif (Choosing == 2) | Elseif (Choosing == 2) | ||
Line 395: | Line 391: | ||
Set Choosing to 0 ;to close the menus | Set Choosing to 0 ;to close the menus | ||
Endif | Endif | ||