Tomik18 This sounds interesting. You could try something different to see if it works?
Go into the games "setuplevel.fpi" and at the bottom you will see "Game Menu"
There is a command called "plralive=x" So if the player dies (plralive=0 --- player not alive)
It would/could trigger the in game menu ??? Just a thought
; Game Menu
:plralive=0:state=3
:state=2,escapekeypressed=0:state=3
:state=3:hudshow=gamemenutitle,hudshow=loadgame,hudshow=savegame,hudshow=quitgame,hudshow=returngame,hudshow=pointer,state=4
:state=4,hudselectionmade=2:loadgame
:state=4,hudselectionmade=3:savegame,state=6
:state=4,hudselectionmade=5:continuegame,destroy
:state=4,hudselectionmade=4:state=6
:state=4,escapekeypressed=1:state=5
:state=5,escapekeypressed=0:state=6
:state=6:hudunshow=gamemenutitle,hudunshow=loadgame,hudunshow=savegame,hudunshow=quitgame,hudunshow=returngame,hudunshow=pointer,resumegame,state=1
It work a try to see if it works.
My games never have bugs. They just develop random features..
Lots and lots of random features...