Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Sir Bob on Sun 04/12/2005 00:27:00

Title: Displaying Windows(SOLVED)
Post by: Sir Bob on Sun 04/12/2005 00:27:00
I couldnt find this in the manual but...

I want a button on the Icon bar that leads to another GUI menu that I made, pausing the game. This menu is for restore, save, quit, etc.

What script command(s) is this?

P. S. How do you change what the message boxes and such look like?
Title: Re: Displaying Windows
Post by: Akumayo on Sun 04/12/2005 04:06:03
Create the gui for save/load/quit, then make the interaction on your Icon bar button:
g(name of save/load/quit gui).Visible = true;
Title: Re: Displaying Windows
Post by: Sir Bob on Sun 04/12/2005 04:29:21
Never mind


Title: Re: Displaying Windows
Post by: Akumayo on Sun 04/12/2005 04:37:36
#sectionstart btniconmenu_clickÃ,  // DO NOT EDIT
function btnIconMenu_Click(GUIControl *control, MouseButton button) {

Ã,  gMenu1.visible = true
}
#sectionend btniconmenu_clickÃ,  // DO NOT EDIT


Change things in red:

Ã,  gMenu1.Visible = true;