How to close/exit standalone game, & how to call up console (German keyboard)

I know its seems a dumb question, but I did a google, and can’t find any answer.

So How do I actually close the Standalone game, (when I picked the Standalone game under ‘Play’ )

Also for the of me, I cannot find out how I actually call out the console. It used to be via Tab in UDK, ‘~’ wouldn’t work. Now (UE4) nothing works.

Use the “quit game” node in your character, level or player controller bp and connect it with an event :slight_smile: e.g when you press “esc” it will close your game

Usually the best way to exectute common console commands is via blueprints like this:
75028b1550a3644b4a17e2842fd2f9ef692fce44.jpeg
By searching for Key Events you can pick any key you want to use and by searching for console you get the second node.
In that you can enter any console command you want to execute. (In this case EXIT for closing the standalone game.)
Also remember to SAVE your blueprint before you launch the standalone game, or it won’t work and might make you question your game dev abilities.

If this doesn’t work you can try to add a Get Player Controller node and plug its Return Value into Specific Player for the Console Command node.

I don’t think any key on the German keyboard works to open the console, but you could try editing the key like this:
https://answers.unrealengine/questions/10146/how-to-use-console-command-with-jp-keyboard.html if you need regular acess to the console in standalone game.

Essential functionality like this really shouldn’t be this hard to acess in an engine that’s trying hard to become user friendly.
Then again UE always had its quirks in usability, but also many unique advantages that more than make up for them.

Edit: Nice to see that there finally is a quit game node, the setup I posted could still be helpfull for other console commands though.

Thanks, XileceX & , This community rocks.

Hmmm, I thought there is a genetic default key for that, but nevertheless,

I manage to resolve this via this connection in MyPlayerController Blueprint. YOu can never be too safe. :stuck_out_tongue:

Not able to call out Console after supposedly rebinded. Oh well, at least the main one is resolved.

Also Why not just allow rebinding of key in the editor? Just a thought. Prompt a restart or changes will only take place after restarting after that.

:stuck_out_tongue: Thats true

LOL, UE4, UE4, Love you, hate you, love you, hate you…

Finally found how I can bind console key to Tab in the Project setting tab editor, but then found the whole Project settings screwed. Now I cannot save anything as default like keybinds, & calling up console…

6c7f1b4f9880727507940ba240430cbe15e0f031.jpeg

Edit: Okay, turns out the ***‘These settings are always saved in the default configuration file, which is currently writable’ *** means that whatever you changed will be set as default (presumably after saving the project).

Either my English comprehension is poor, or its a poorly constructed sentence. Either way, its resolved. But then, why do you have set as default, & reset as defaults options on top?