How can I change what my GUI says?

Started by aventurero, Sat 06/12/2008 04:14:01

Previous topic - Next topic

aventurero

I need to change my quit button on my GUI (the one which says "quit" or "play")
Because my game's in Spanish and I must change it for "salir" or "jugar".
The same with the save and load buttons.
Thanks.
Code: ags
function iToxicWaste_Talk()
{
Display ("You eat the toxic waste. Obviously, you die.");
QuitGame (0);}

Trent R

You'll have to make a new Gui for Quit conformation, I'd suggest looking at the code for the Restart Gui (included in the Default Game Template).

Also check out QuitGame() entry in the manual.


~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

RickJ

AGS has a couple of legacy built-in dialogs.  There not used often and are not changeable.  If you are currently using any of these you will have to use the AGS GUI editor to create replacements.

If your current GUI is already defined in the GUI editor, which it likely is, then all you need to do is to use the GUI editor to change the text.

Here is a link to the section of the manual that explains how to edit GUIs.
http://www.adventuregamestudio.co.uk/manual/Editing%20the%20GUIs.htm

SMF spam blocked by CleanTalk