Okay, here's what I'd like to do, if at all possible:
- I want to make it that when you press the escape key, my game does not close.
- I want to make it so that if I press the escape key on the story part of the main menu, it will show the main menu.
To do this, I used Disable EscapeKey. Then, when you're on the story section of the main menu I inserted the following code:
If EscapeKey() = 1 Then MenuState = 2 (Takes you back the main menu)
But, it seems that disable escape key also makes it that DBP won't even check input from the escape key.
So here's the question. How can I make it so that if you press escape it DOES NOT close the program, rather it does only what I tell it to do? Thanks