Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: petaglair on Wed 18/04/2007 00:05:08

Title: customize "do you want to quit" prompt
Post by: petaglair on Wed 18/04/2007 00:05:08
hi
i would like to have a custom confirmation prompt when i click on quit within the game.
I already customized my inventory gui, found some module to customize the save restore load menues but i haven't any clue on how to do it with the quit confirmation window.
please help

Thanx
Pétaglair
Title: Re: customize "do you want to quit" prompt
Post by: Ashen on Wed 18/04/2007 00:09:14
Two options:

First, make a custom Quit GUI, and call that instead of QuitGame (not all that hard). Or, if you don't mind the look of the hard-coded one and just want to change the text: Read the manual (http://www.adventuregamestudio.co.uk/manual/GlobMessages.htm):
Quote
993   text for Quit button in Quit dialog
994   text for Play button in Quit dialog
995   header text "Are you sure you want to quit"

Changing those message will change the text.
Title: Re: customize "do you want to quit" prompt
Post by: petaglair on Wed 18/04/2007 00:16:11
ok thanx
sounds so simple actually.

Pétaglair
Title: Re: customize "do you want to quit" prompt
Post by: Dualnames on Fri 20/04/2007 17:34:55
Quote from: petaglair on Wed 18/04/2007 00:16:11
ok thanx
sounds so simple actually.

Pétaglair

Good now please change the subject to solved if you don't mind.