Difference between revisions of "MessageBox Tutorial/Quest Scripts"
Jump to navigation
Jump to search
MessageBox Tutorial/Quest Scripts (edit)
Revision as of 00:43, 15 September 2007
, 00:43, 15 September 2007→Setup: Changed script to reflect new one in main tutorial
imported>Haama |
imported>Haama (→Setup: Changed script to reflect new one in main tutorial) |
||
Line 36: | Line 36: | ||
If (Choosing == 0) ;meaning it shouldn't be running | If (Choosing == 0) ;meaning it shouldn't be running | ||
Return | Return | ||
Elseif (Choosing == -1) ;Display your menu | Elseif (Choosing == -1) ;Display your menu | ||
Messagebox "Which option?" "First Option" "Second Option" | Messagebox "Which option?" "First Option" "Second Option" ... "Tenth Option" | ||
Set Choosing to 1 | Set Choosing to 1 | ||
Set Choice to -1 | Set Choice to -1 | ||
Elseif (Choosing == 1) ;Catch the player's decision | Elseif (Choosing == 1) ;Catch the player's decision | ||
If (Choice == -1) ;No choice yet | If (Choice == -1) ;No choice yet | ||
Line 52: | Line 50: | ||
;run your code for the second decision | ;run your code for the second decision | ||
Set Choosing to 0 ;to finish up | Set Choosing to 0 ;to finish up | ||
;... | ;... | ||
; | ; Elseif (Choice == 9) ;Tenth Option | ||
;run your code for the tenth decision | |||
; Set Choosing to 0 ;to finish up | |||
; | |||
Endif | Endif | ||
Endif | Endif |