Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: gypsysnail on Thu 12/10/2006 14:27:17

Title: GUI box not disappearing
Post by: gypsysnail on Thu 12/10/2006 14:27:17
I have just started to make a practice game - learning to script at this stage so pardon my naiveness and I guess seeing this as a beginners thread I took the risk to post here. I have the start room and when it comes up after I open Test Game, I see the GUI is still there, but it has a narrow black line over it (I know there is extra GUI values in the AGS editor that I am working in but can't seem to delete them....) well the GUI rectacular box at the top just won't go, I know there is a way to stop it from being there all the time, but I have read and read everything, looked for the solution - can't find (sorry). I am sure most of you will know what silly thing I am doing and maybe you can direct me on how I can solve this. Also when I open the inventory box, and I want to close it, it wont close). This is a very very new noob that I am, lol :o
Title: Re: GUI box not disappearing
Post by: Sunwalker on Thu 12/10/2006 17:25:51
This black box is the status line from the original GUI. To hide it, you must add this in the game_start section of the global script:
gStatusLine.Visible = false;
Or something like that. I don't remember the exact name of the status line.
Title: Re: GUI box not disappearing
Post by: Maverick on Thu 12/10/2006 18:15:11
Just click on GUI in the main menu and then on the statusline GUI in the GUI editor (no.0 in the list) and change the visibility property to popup modal in the dialogue box that pops up. If you need to call up the GUI at any time then just write code to call it as per Sunwalker's example.

Edit

You can find more info on this HERE (http://www.adventuregamestudio.co.uk/manual/Editing%20the%20GUIs.htm/)