Hide GUI in one room SOLVED

Started by Derrick Freeland, Fri 13/01/2012 13:30:11

Previous topic - Next topic

Derrick Freeland

I set up my start menu as a room with objects for character selection and so on.  The GUI that I made for the game is visible in all of my rooms, but I'd like to hide it in the start menu room.  How do I do that?

Ghost

You can do that by using THE_GUI.Visible = false / THE_GUI.Visible = true. (Enter the name of your GUI instead of "THE_GUI").

So if you just want to have the GUI invisible in one room, open that room's even page and create an event for "Enter Room before fade-in".

Then enter the following line into the newly created event:

function room_Load()  <-this is the event!
{
  THE_GUI.Visible = false;
}


Derrick Freeland

That totally worked! Thanks for the help. ;D

SMF spam blocked by CleanTalk