2 GUIOn at once?

Started by beaver, Wed 12/05/2004 00:25:15

Previous topic - Next topic

beaver

Ok i have no idea why this isnt working. I must be missing something simple, i want 2 GUI's to be turned on at the same time, but one of them doesnt come on. i have tested and if i have the one that doesnt come on at the start then they both close when i want them to, but not both on. if you follow me...

Here is the script,

  if (interface == INTY) {
    if (button == 3)
      GUIOn(7);
    if (button == 2)
      GUIOn(2);
      GUIOn(11);           < ------ this one doesnt load
      }

Thanks for any help.

PhoneBooth

Some of you braces are missing:
  if (interface == INTY) {
    if (button == 3) {
      GUIOn(7);
    }
    if (button == 2) {
      GUIOn(2);
      GUIOn(11);       
    }
  }

But that might just be how you typed it here, not in the script. Could it be the z-order?

beaver

#2
OK im sorry for wasting your time, it seems el thicko (me) changed the gui names and layouts and forgot, so i was trying to call a gui with a button in a gui that didnt exist (doh).
thanks anyway

SMF spam blocked by CleanTalk