I've been trying to figure out how the heck can I create a menu while running the game (not pressing ESC!).
Let's imagine:
You walk near a door, and a menu pops up. Then, you may choose some options, blah blah blah.
Have been trying to do a script but it' not working. I just can't understand what am I doing wrong. I already analyzed the setuplevel.fpi, and even copy the code. Doesn't work.
Can anyone help?
:state=0:hudreset,hudx=50,hudy=10,hudimage=languagebank\english\gamecore\backdrops\basic\gamemenu.tga,hudname=gamemenutitle1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=40,hudimage=languagebank\english\gamecore\backdrops\basic\loadgame.tga,hudtype=2,hudname=loadgame1,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=languagebank\english\gamecore\backdrops\basic\savegame.tga,hudtype=3,hudname=savegame1,hudhide=1,hudmake=button
:state=0:hudreset,hudx=,hudy=,hudimage=,hudname=savingprompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=60,hudimage=languagebank\english\gamecore\backdrops\basic\exitgame.tga,hudtype=5,hudname=quitgame1,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=70,hudimage=languagebank\english\gamecore\backdrops\basic\returntogame.tga,hudtype=4,hudname=returngame1,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\pointer.tga,hudname=pointer1,hudhide=1,hudmake=pointer,state=5
:state=5,plrdistwithin=60:pausegame,state=6
:state=6:state=7
:state=7:hudshow=gamemenutitle1,hudshow=loadgame1,hudshow=savegame1,hudshow=quitgame1,hudshow=returngame1,hudshow=pointer1,state=8
:state=8,hudselectionmade=2:loadgame
:state=8,hudselectionmade=3:savegame,state=9
:state=8,hudselectionmade=5:continuegame,destroy
:state=8,hudselectionmade=4:state=15
:state=15:hudunshow=gamemenutitle1,hudunshow=loadgame1,hudunshow=savegame1,hudunshow=quitgame1,hudunshow=returngame1,hudunshow=pointer1,resumegame,state=10
......
Sintra, The Underground Empire [WIP] - http://forum.thegamecreators.com/?m=forum_view&t=153787&b=25