Difference between revisions of "MessageBox Tutorial/Quest Scripts"
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) |
||
|
If (Choosing == 0) ;meaning it shouldn't be running
Return
Elseif (Choosing == -1) ;Display your menu
Messagebox "Which option?" "First Option" "Second Option"
Set Choosing to 1
Set Choice to -1
Elseif (Choosing == 1) ;Catch the player's decision
If (Choice == -1) ;No choice yet
;run your code for the second decision
Set Choosing to 0 ;to finish up
;...
▲; Set Choosing to 0
▲; Elseif (Choice == 9) ;Final/Tenth Option
▲ ;run your code for the tenth decision
Endif
Endif
| |||