GUI box not disappearing

Started by gypsysnail, Thu 12/10/2006 14:27:17

Previous topic - Next topic

gypsysnail

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
Believe in afterlife! It's true in a metamorphical way ;)
Ken & Roberta - my inspiration!! 20 years.
U are what you love doing and passionate about - keep up what you love most.

Sunwalker

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.

Maverick

#2
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

SMF spam blocked by CleanTalk