During Play in editor (PIE), is there a shortcut to simulate ESC without stopping the game?
A lot of games use keyboard 'ESC' for pause menus, backing out of UI etc. Currently in the ShooterGame sample, you can only send an Escape to the game in Standalone mode. In Play In Editor (PIE) mode the editor responds to the keypress by stopping the game. It would be great if we could simulate Escape presses in Play In Editor (PIE) mode, for example by pressing Shift+ESC or another key binding to avoid stopping the game session.
(comments are locked)
|
This works as of 4.19 but possibly earlier:
(comments are locked)
|
Follow this question
Once you sign in you will be able to subscribe for any updates here
Under Editor Settings->Keyboard settings under Play World, try override the Stop command.
Thanks for the quick reply! I just tried this but it still seems to use Escape as well as the new binding to stop the game. I've got source access so I'll dig in and find out why it's still using Escape. Cheers!
if you bound ESC in the input settings just bind another key to the same mapping and remove that key when you cook your content
I could use an answer to this too. Trying to test functionality related to Escape key handling and it's not quite working in Standalone but there's no way for me to debug it in "New Editor Window" mode like I'd normally do. Setting a new binding in Editor Settings -> Keyboard -> Play World doesn't make a difference; Escape still closes.
Try pressing f8. While in play
Wow, I'm really digging out an old question. But I found this solution:
In DefaultEngine.ini in the project you can add:
This should unbind the Escape button from closing the game in the editor.
Awesome - that makes testing in-game pause menus a lot easier in the editor. Thanks a lot.
Does not work in UE 4.9.1.
Oh. It seems they changed a place. Now you have to put those lines into the DefaultInput.ini, not Engine.
I can't beleive this took a year to be answered, but thank you for being our savior!
Bump. Can we get answer for this? The posted solution no longer works.
I just tested the solution below which works in 4.10.1. Add the following lines to the bottom of DefaultEngine.ini in your project's Config folder, then restart the editor.
there's actually a simpler answer now, for future readers: http://imgur.com/a/4ycde
Thanks works great :D
Thanks ! Works in 4.16.3 (both dev & shipping)