Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 22/07/2003 21:26:47

Title: game end
Post by: on Tue 22/07/2003 21:26:47
now I have finished a game...it has two different endings.
so how do I make the game end after a cutscene?
Title: Re:game end
Post by: prowler on Tue 22/07/2003 22:28:23
you could pop up the quit dialog... :)
Title: Re:game end
Post by: Al_Ninio on Wed 23/07/2003 15:03:52
If you want the game to end immediately after the cutscene ends add

QuitGame(0);

after your cutscene's script.
if you want the quit dialog to appear just exchange that 0 with a 1.
Title: Re:game end
Post by: on Wed 23/07/2003 20:15:17
ok, thanks a lot =D