Posted: Fri Apr 14, 2006 2:38 pm Post subject: Help with Menus with GUI buttons
i am working on a game and trying to put a menu on it, but after the game is finished, it won't go back to the menu. i have tried putting the game in a procedure, but when the game procedure finishes, it just leaves a blank screen and the bar at the top of the program says
"game run window - finished"
i think it has something to do with the
code:
loop %it waits until a button is pressed and then exits
exit when GUI. %(something like activated.) i don't have the program on this machine.
end loop
it might be because the GUI.something has already retured true so when it comes around from the game procedure it skips through the loop.
Anyway I need help!!!!!
Sponsor Sponsor
Bored
Posted: Fri Apr 14, 2006 3:24 pm Post subject: (No subject)
First off your thinking of GUI.ProcessEvent which teturns true when GUI.Quit is called changing a value in the GUI module to true. To revert this affect use the command GUI.ResetQuit which undoes what GUI.Quit does.