Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 01/07/2004 16:17:22

Title: GUI doesn't disappaer while dialogue
Post by: on Thu 01/07/2004 16:17:22
Hi,

I'm using the MI 1 GUI and have problems with GuiOn/Off scripting:

following Script:

GuiOff(0);
rundialog(0);
GuiOn(0)

What do i have to do, to have this GuiOn thing working after the dialogue ended? ???

Please try to answer not as complicated, I'm from Germany  :)
Title: Re: GUI doesn't disappaer while dialogue
Post by: Barbarian on Thu 01/07/2004 17:56:03
Make sure to have the semicolon " ; "  at the end of your command too.
So should probably look like:

GUIOn(0);

Title: Re: GUI doesn't disappaer while dialogue
Post by: strazer on Fri 02/07/2004 19:43:03
No matter where in the script you put the RunDialog command, it's always executed AFTER the whole script has run.
Look up "dialog_request" in the manual to achieve what you're trying to do.
Before you ask how it's used, read the Beginner's FAQ and do a forum search. This topic has been covered a lot.
Title: Re: GUI doesn't disappaer while dialogue
Post by: on Sat 03/07/2004 18:59:43
I searched the forum, but didn't find it.
Sorry for that. Next time i will look more intense.
Thank for your reply!
Title: Re: GUI doesn't disappaer while dialogue
Post by: strazer on Sat 03/07/2004 19:21:59
I was referring to the "dialog_request" function (and "run-script") being a popular topic.