Implementing a "back" button in a menu

Post » Sun Jul 14, 2013 8:07 am

Need some help with a two-menu system I am making for a mod. I am forced to do a two-menu system because the player is presented with 11 possible choices, but only 10 buttons are possible on a messagebox.

Right now, I have something like this:

 iButton == Menu01.Show() if iButton == 1  elseif iButton == 2  elseif iButton == 3    iButton == Menu02.Show()    if iButton == 1         elseif iButton == 2        else        endIfelse   endIf

It works, but I want to implement a "Go Back to Menu 1" button in Menu 2. I tried reading the example on CreationKit.org (the one with thirty buttons) but I can't seem to suss it out. I'd like it to be simple and easy. Any help?

User avatar
Emily Martell
 
Posts: 3469
Joined: Sun Dec 03, 2006 7:41 am

Return to V - Skyrim