Hello!
Small yet annoying issue here. I am using an Input Check action list to pause the game when dialog boxes come up, waiting on the user to press the "close menu" button (space). Essentially I am bringing up a menu, adding text to it, and then running the list so that the game pauses until the user presses space to continue.
It all works fine, sort of. Often, I have to press space 3 or 4 times before it registers and closes the menu. Does anyone have any ideas as to why this might be the case? Is there something Im missing?
Here is the actionlist:
And here is an interaction with the Action List being run:
Any advice would be appreciated. Thanks!
Comments
I can improve this a little, but looping Actions will always have a minor delay between them. I would instead recommend you use Active Inputs to check for input - this will always detect input. You can read more about them in Section 2.14 of the Manual.
Set a boolean variable to True instead of running your ActionList can be used to determine whether or not the input should have any effect.
But there is always a reason to update - each update contains dozens of bugfixes and improvements.
Since you want to use it to un-pause the game: rather than using a boolean, you can just check the state of your gamplay-pausing Menu. Tie the Active Input to an ActionList that checks if this Menu is on by using the Menu: Check state Action. If it's on, you know to turn it off!