Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: MRollins on Tue 04/08/2009 22:48:23

Title: Quit Messsage Question
Post by: MRollins on Tue 04/08/2009 22:48:23
Does anyone know where this GUI is located in the demo game? I can;t seem to find it to edit it's appearance. IT doesn;t appear in the regular GUI list and the script rally doesn;t help.

(http://ethyn-price-and-the-idol-of-chanta.googlegroups.com/web/Quit%20message.PNG?gda=OcPPb0IAAABPUkYWCy4wd9512FwyEAWWst-rhstgQW8Pc3UsekLTVL20woFIpDRKYLVYYDjvYGFV4u3aa4iAIyYQIqbG9naPgh6o8ccLBvP6Chud5KMzIQ&gsc=_giJCwsAAABboX9py5FbYkQEtMdMHkm8)
Title: Re: Quit Messsage Question
Post by: on Tue 04/08/2009 22:55:25
The demo game uses the scripting command QuitGame(1), which has no GUI but is built into AGS (like the save/load dialogs).

If you want to make your own custom quit GUI so that you can edit parts of it, create one and use it- the quit button of such a selfmade GUI would then call QuitGame(0) in order to quit the game without using the build in "quit the game (yes/no)" message.
Title: Re: Quit Messsage Question
Post by: MRollins on Wed 05/08/2009 00:10:23
Ah, I see. Thanks!