Quit game window help

Started by Alaskaban, Fri 05/07/2013 16:05:47

Previous topic - Next topic

Alaskaban

Hello, I was wondering if there was any way to customize the quit window. I have noticed that it is not in the gui section in default games.

arj0n

It's been asked before, take a look here

Adeel

    You may just make a GUI containing the confirmation line and two button: 1) Yes and 2) No. Then on the Yes button, add the following code to the event handler of that button:

Code: AGS
QuitGame(0);


Thing is, when you add Zero - 0, then the hard coded prompt doesn't appear and game quits without confirming the player.

SMF spam blocked by CleanTalk