SCN aaaMenuScript Short button1 short button2 short button3 short menulevel short DoOnceBegin ScriptEffectUpdate if menulevel == 0&& doOnce == 0 ShowMessage aaaIntro set button1 to getbuttonpressed set DoOnce to 1endif If button1 == 0 showmessage aaa1stmenu set menulevel to 1 elseif button1 == 1 showmessage aaa2ndmenu set menulevel to 2 elseif button1 == 2 player.additem aaacontroller 1 set menulevel to 4 endifIf menulevel == 1set button2 to getbuttonpressedendifIf button2 == 0player.placeatme aaa1stmenu0 3 120 1player.additem aaacontroller 1elseIf button2 == 1player.placeatme aaa1stmenu1 3 120 1player.additem aaacontroller 1elseIf button2 == 2player.placeatme aaa1stmenu2 3 120 1player.additem aaacontroller 1elseIf button3 == 3player.placeatme aaa1stmenu3 1 120 1player.additem aaacontroller 1elseIf button3 == 4player.additem aaacontroller 1set menulevel to 4endifIf menulevel == 2set button3 to getbuttonpressedendifelseIf button3 == 0;player.placeatme aaa2ndmenu0 3 120 1player.additem aaacontroller 1elseIf button3 == 1;player.placeatme aaa2ndmenu1 3 120 1player.additem aaacontroller 1elseIf button3 == 2;player.placeatme aaa2ndmenu2 2 120 1player.additem aaacontroller 1elseIf button3 == 3;player.placeatme aaa2ndmenu3 1 120 1player.additem aaacontroller 1elseIf button3 == 4player.additem aaacontroller 1set menulevel to 4endifend
THe reason for the ; is i havent made those units yet.