I have the escape key set up to end the game when you press it. For some reason though, it sometimes shows the general in-game menu before it ends the game. I'm not sure how to fix it, but it is annoying the crap out of me.
Here's part of the script:
Code:
while (playing) do(
if (key is pressed (key:esc)) then (
playing := false
)
If you have not done "suspend player" and the player presses the key during some "wait" command somewhere else in the script, I would expect the menu to pop up.
I really need to add an easy way to override the menu behavior without also suspending the other player controls.