Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: GreenBoy on Sat 30/12/2006 09:26:49

Title: Gui will not come up? [SOLVED]
Post by: GreenBoy on Sat 30/12/2006 09:26:49
I want a gui to pop up that says "meanwhilst"
then go off after a while.
now ive tried scripting it but it wont come up.

heres what i had:

character[EGO].FaceLocation(character[EGO].x, character[EGO].y-50);
character[EGO].Say("Sigh....");
character[EGO].Say("Well at least my day cant get any worse.");
gMeanwhilst.Visible = true;
Wait(20);
gMeanwhilst.Visible = false;
EndCutscene();
character[EGO].ChangeRoom (3);

any ideas?
Title: Re: Gui will not come up?
Post by: SSH on Sat 30/12/2006 11:48:36
All I can imagine is that the transparency of the gui is set to 100 or something...
Title: Re: Gui will not come up?
Post by: Ubel on Sat 30/12/2006 12:20:27
Or perhaps it's under another GUI?
Title: Re: Gui will not come up?
Post by: ManicMatt on Sat 30/12/2006 13:24:43
*Whilst he waits for his own puzzle to be solved..*

Am I missing something here? Why is it a GUI? Why not create an object that is the word meanwhilst? that would be easier to script anyways.
Title: Re: Gui will not come up?
Post by: Akatosh on Sat 30/12/2006 14:19:09
I guess you changed the during-cutscenes option to GUIs turn off.

Naturally it'll disappear during a Wait command, then. Change that option to GUIs remain unchanged or just use an object, instead.
Title: Re: Gui will not come up?
Post by: GreenBoy on Mon 01/01/2007 04:52:03
Part of me hates it when its that simple.

Thanks Akatosh.

Didnt even think of looking there.
Title: Re: Gui will not come up?
Post by: Akatosh on Mon 01/01/2007 13:49:19
No problem - most people forget about the 'General settings'-pane  ;)