I want to change the default quit message GUI, but I don't know if it's possible anymore. I remember you used to be able to do it by changing the global messages, like this thread shows: http://www.adventuregamestudio.co.uk/yabb/index.php?topic=30964.msg396480#msg396480
Now in AGS 3.0.1 however, I think the global messages have been removed, so how can I change the quit text (preferably without making my own quit GUI).
You cannot change the default quit GUI, but you can make a new one.
Start off with making a new GUI and call it something like: gQuitgui.
Put a label on there that says something like: Do you really want to quit?
Now make two buttons: one that says 'Yes' and the other that says 'No'.
Scripting for the buttons:
Yes:
QuitGame(0);
No:
gQuitgui.Visible = false;
When you want the quit GUI to pop up, run this script:
gQuitgui.Visible = true;
Sorry, but that's the easiest way with 3.0.1.
And don't forget to set the GUI's visible mode to Popup modal.
Quote from: TheJBurger on Sat 21/06/2008 21:28:47
how can I change the quit text (preferably without making my own quit GUI).
It's not possible anymore. I think so at least. I tried myself as well. Maybe we're missing something , but in case we do, I'd love to hear it.
Yeah, I know good and well how to make my own quit GUI, but thanks anyway. Guess I'll just have to make my own.