Difference between revisions of "Options Menu"

39 bytes removed ,  13:47, 12 April 2012
m
→‎Examples: Optimized second example
imported>JustinOther
m (Changed first example to OnContainerChanged())
imported>JustinOther
m (→‎Examples: Optimized second example)
Line 57: Line 57:
If (aiButton != -1) ; Wait for input
If (aiButton != -1) ; Wait for input
aiButton = MainMenuMESG.Show() ; Main Menu
aiButton = MainMenuMESG.Show() ; Main Menu
abMenu = False
If (aiButton == 0) ; Breakfast
If (aiButton == 0) ; Breakfast
aiButton = BreakfastMESG.Show()
aiButton = BreakfastMESG.Show()
abMenu = False
If (aiButton == 0) ; Sweet Roll
If (aiButton == 0) ; Sweet Roll
ElseIf (aiButton == 1) ; Pancakes
ElseIf (aiButton == 1) ; Pancakes
Line 66: Line 66:
ElseIf (aiButton == 1) ; Lunch
ElseIf (aiButton == 1) ; Lunch
aiButton = LunchMESG.Show()
aiButton = LunchMESG.Show()
abMenu = False
If (aiButton == 0) ; Turkey Sandwich
If (aiButton == 0) ; Turkey Sandwich
ElseIf (aiButton == 1) ; Ham Sandwich
ElseIf (aiButton == 1) ; Ham Sandwich
Line 73: Line 72:
ElseIf (aiButton == 2) ; Dinner
ElseIf (aiButton == 2) ; Dinner
aiButton = DinnerMESG.Show()
aiButton = DinnerMESG.Show()
abMenu = False
If (aiButton == 0) ; Filet Mignon
If (aiButton == 0) ; Filet Mignon
ElseIf (aiButton == 1) ; Lobster
ElseIf (aiButton == 1) ; Lobster
Anonymous user