Greetings everyone !
My game is running normally and shutting down properly under the delay - out game nodes on the blueprint level. How do I turn it off, close the game while executing using any letter from the keyboard?
thankful
Are you talking about the built version of your project? if so, before you build it, right click in the blueprint and search for a key you want the game to shut off (ex: Q key), then right click in the blueprint again and search for a node called “Execute Command” and type in that node “quit”
It’s very easy
Yes blackface, I’m running my project. As I am totally inexperienced in programming, could you please facilitate me by indicating where I created this node? Attached, follow my blueprint level. I want to use the letter “D” to stop the game.
What you actually did there is a self closing game blueprint where the game closes itself after 446 seconds. You’re making a game of time? In order to close the game with the D letter is how I wrote above, look for the d key right clicking in the blueprint windows and attach it to a Execute Console Command, and the command shall be “quit”
If you don’t want your game to close itself, the remove that Quit Game node
I’ll try, and come back here to comment, okay!
worked correctly, thank you!