GUI doesn't disappaer while dialogue

Started by DernetteEddy, Thu 01/07/2004 16:17:22

Previous topic - Next topic

DernetteEddy

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  :)

Barbarian

Make sure to have the semicolon " ; "  at the end of your command too.
So should probably look like:

GUIOn(0);

Conan: "To crush your enemies, see them driven before you, and to hear the lamentation of the women!"
Mongol General: "That is good."

Blade of Rage: www.BladeOfRage.com

strazer

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.

DernetteEddy

I searched the forum, but didn't find it.
Sorry for that. Next time i will look more intense.
Thank for your reply!

strazer

I was referring to the "dialog_request" function (and "run-script") being a popular topic.

SMF spam blocked by CleanTalk