Ending a game

Started by maniactcs, Tue 21/02/2012 13:46:21

Previous topic - Next topic

maniactcs

Hi

I have come to the end of my short demo for my project at university and was wondering if there was a script command to end the game and ext back to windows?

Thanks


Gudforby

Code: ags

QuitGame(0);


will exit the game and return to windows

steptoe

#2
Code: ags

QuitGame(0);     // will exit program (ags) back to windows immediately
QuitGame(1);     // will ask you if you want to Quit program (ags)





maniactcs

Thank you for the quick replies !!! :)

Khris

Please check the manual before opening threads. This is command is really easy to find.

SMF spam blocked by CleanTalk