Displaying Windows(SOLVED)

Started by Sir Bob, Sun 04/12/2005 00:27:00

Previous topic - Next topic

Sir Bob

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?

Akumayo

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;
"Power is not a means - it is an end."

Sir Bob

#2
Never mind



Akumayo

Code: ags
#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;
"Power is not a means - it is an end."

SMF spam blocked by CleanTalk