I wanted to make a mod that basically simplifies the Chargen process to the name, race, class, and birthsign menus, then enables everything and lets you choose a starting point. My script so far is:
Begin Z13_cge_menusShort Stageif ( Stage == 0 ) EnableNameMenu set Stage to 1endifif (Stage == 1 ) if ( MenuMode == 1 ) return else EnableRaceMenu Set Stage to 2 endifendifif (Stage == 2 ) if ( MenuMode == 1 ) return else EnableClassMenu Set Stage to 3 endifendifif (Stage == 3 ) if ( MenuMode == 1 ) return else EnableBirthMenu Set Stage to 4 endifendifif ( Stage == 4 ) if ( MenuMode == 1 ) return else EnablePlayerJumping EnablePlayerLooking EnablePlayerControls EnablePlayerFighting EnablePlayerMagic EnablePlayerViewSwitch EnableVanityMode EnableRest EnableMagicMenu EnableMapMenu EnableInventoryMenu EnableStatsMenu Set Stage to -1 endifendifEnd
In theory, it should work fine. However, all of the menus are called at once. I tried making each menu call when a timer reached a certain point, and that timer would set to 0 whenever MenuMode returned 1. However, the timer went on as normal, and the menus eventually cluttered up my screen and were unusable. Do Chargen menus not return menumode? And if not, does anyone know a way to make them appear in order in a quick, clean manner?