I have this multilevel menu which, when I roll it in gamemode, it's fine (only speaking of the multilevel function here, the last-level buttons are not yet configured all the way). But it falls apart when I put it into menumode 1075 - - - putting it into this menu should cause it to overlay the 'companion wheel'.
What I end up getting is, I have to re-click the companion wheel itself to make the menuing advance, and then after a little bit of that, it fails completely.
I doan feel so strong at this eh ...
Here's my code if it helps.
Spoiler
begin menumode 1075 If awaitinginput If Menulevel == 0 Set button0 to GetButtonPressed If button0 == -1 Return ElseIf button0 == 0 ; Group commands showmessage PhalanxMenuGroup set menulevel to 1 return ElseIf button0 == 1 ; placeholder return ElseIf button0 == 2 ; placeholder return ElseIf button0 == 3 ; placeholder return ElseIf button0 == 4 ; placeholder return ElseIf button0 == 5 ; Settings showmessage PhalanxMenuSettings set awaitinginput to 1 set menulevel to 5 Return ElseIf button0 == 6 ; Utilities, Help, Cheats showmessage PhalanxMenuUtil set awaitinginput to 1 set menulevel to 6 Return ElseIf button0 == 7 ; Exit set menulevel to 0 set awaitinginput to 0 RemoveMe endif elseif MenuLevel == 1 ; Submenu for Group Commands------------------------------------- elseif MenuLevel == 5 ; Submenu for Settings----------------------------------------------------- Set button1 to GetButtonPressed If button1 == -1 Return ElseIf button1 == 0 ; remove number limits set VNPCFollowers.nolimit to 1 set VNPCFollowers.bHumanoidInParty to 0 set VNPCFollowers.bCritterInParty to 0 ShowMessage PhalanxWheelMain1MSG set PhalanxOptionsMenuQUEST.EnableLimits to 0 ; this is in case player hit button repeatedly stopquest PhalanxOptionsMenuQUEST ; same set awaitinginput to 1 Return ElseIf button1 == 1 ; Turn on follower number limits set VNPCFollowers.nolimit to 0 startquest PhalanxOptionsMenuQUEST set PhalanxOptionsMenuQUEST.EnableLimits to 1 ShowMessage PhalanxWheelMain1MSG set awaitinginput to 1 Return ElseIf button1 == 2 ; make wait behavior = sandbox set vNPCFollowers.WaitSandbox to 1 Set awaitingInput to 1 return ElseIf button1 == 3 ; make wait behavior = guard set vNPCFollowers.WaitSandbox to 0 Set awaitingInput to 1 return ElseIf button1 == 4 ; Go back Set awaitinginput to 1 Set menulevel to 0 Showmessage PhalanxMenuTop Return EndIf elseif Menulevel == 6 ; Submenu for Utils/help/cheats--------------------------------------- Set button1 to GetButtonPressed If button1 == -1 Return ElseIf button1 == 0 if player.getitemcount PhalanxCheatController == 0 player.additem PhalanxCheatController 1 player.AddItem Pencil01 1 1 player.RemoveItem Pencil01 1 1 endif Set awaitinginput to 0 Set menulevel to 0 RemoveMe ElseIf button1 == 1 ; Go back Set awaitinginput to 1 Set menulevel to 0 Showmessage PhalanxMenuTop Return EndIf endif Endif