I am pulling my hair out here;
my option menus run perfectly, but these two menus are cutting off the last two options (which actually exit the menus)
cButton == 10 is not showing up
cStage == 12 & cStage == 13 are not showing up
Spoiler
scn fOOKCDOSCRIPTshort cStageshort cButtonshort iLastNVMeterType BEGIN Menumode if NVFCDO == 1 set cButton to GetButtonPressed if(cStage == 0) showmessage FookNVGChargeOptionsMESG set cStage to 1 Elseif cStage == 1 set cStage to cButton + 2 Elseif cStage == 2 ; Use FOOKs charging option showmessage FOOKChargeOptionEnabled Set cStage to 0 Set NVChargeGlob to 1 elseif cStage == 3 ; disable Fook Charging Option showmessage FOOKChargeOptionDisabled Set cStage to 0 Set NVChargeGlob to 0 elseif cStage == 4 ; Show Charge Status Messages Set cStage to 0 Set bNVGUseMessages to 1 elseif cStage == 5 ; dont show charge messge Set cStage to 0 Set bNVGUseMessages to 0 elseif cStage == 6 ; dont show charge msges (hud) Set cStage to 0 Set iNVGMeterType to 0 ; probably need to setup a VR.Quest Set iLastNVMeterType to 0 elseif cStage == 7 ; show charge status in lower right (hud) Set cStage to 0 Set iNVGMeterType to 1 Set iLastNVMeterType to 1 SetUIFloat "HUDMainMenu\_NVMeterType" iNVGMeterType elseif cStage == 8 ; show charge status in crosshairs (hud) Set cStage to 0 Set iNVGMeterType to 2 Set iLastNVMeterType to 2 SetUIFloat "HUDMainMenu\_NVMeterType" iNVGMeterType elseif cStage == 9 ; enable beeps Set cStage to 0 Set bNVGUseWarningBeeps to 1 elseif cStage == 10 ; disable beeps Set cStage to 0 Set bNVGUseWarningBeeps to 0 elseif cStage == 11 ; charge duration Options showmessage FookNVGChargeDurationOptionsMESG Set cStage to 91 elseif(cStage == 91) if(cButton == 0) ; 1min Set iNVGChargeDuration to 1 Set cStage to 0 elseif(cButton == 1) ; 2min Set iNVGChargeDuration to 2 Set cStage to 0 elseif(cButton == 2) ; 3min Set iNVGChargeDuration to 3 Set cStage to 0 elseif(cButton == 3) ; 5min Set iNVGChargeDuration to 5 Set cStage to 0 elseif(cButton == 4) Set iNVGChargeDuration to 10 Set cStage to 0 elseif(cButton == 5) Set iNVGChargeDuration to 15 Set cStage to 0 elseif(cButton == 6) Set iNVGChargeDuration to 20 Set cStage to 0 elseif(cButton == 7) Set iNVGChargeDuration to 30 Set cStage to 0 elseif(cButton == 8) Set iNVGChargeDuration to 0 Set iNVGMeterType to 0 SetUIFloat "HUDMainMenu\_NVMeterType" iNVGMeterType Set cStage to 0 elseif(cButton == 9) ; back Set cStage to 0 elseif(cButton == 10) ; Exit !!NOT SHOWING UP!! set NVFCDO to 0 ;stopquest DLNVFOOKCDO endif elseif cStage == 12 ; Back to Main Menu !!NOT SHOWING UP!! ;stopquest DLNVFOOKCDO startquest DLNVMenuQuest set DLNVMenuGlob to 1 Set NVFCDO to 0 Set cStage to 0 elseif cStage == 13 ; exit all menus !!NOT SHOWING UP!! Set cStage to 0 set NVFCDO to 0 endif if iNVGChargeDuration If FOSE Set iNVGMeterType to FookNVGOptionsQUST.iLastNVMeterType SetUIFloat "HUDMainMenu\_NVMeterType" iNVGMeterType Else Set bNVGUseMessages to 1 EndIf EndIf endifEND