Wait or popup message box

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Wait or popup message box

Postby Candle » Thu Oct 20, 2005 3:10 am

I have this code :
Code: Select all
Action.GoToFrame "Image101" , 0.4 , 1
Action.Message "You have combined all four pieces."

And it works but the message flashs to fast and then goes to the frame .
I would like it to wait so many sec or maybe do a popup message and not the bottom message.
So they see the massage.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby Imari » Thu Oct 20, 2005 2:15 pm

Candle,
I think that you could do it by using only the first line of your script and directing it to a frame called "PuzzleSolved" or something, which is identical to the current frame but with your text message, "You have combined all four pieces," on it. Then for the "PuzzleSolved" frame use the Frame Editor>General tab and at the bottom enable the timer for the desired number of seconds that you want to remain on the "PuzzleSolved" frame, and then in the same spot, set the frame destination to go to your "Image101" frame.
~Cleo
User avatar
Imari
VIP
 
Posts: 872
Joined: Fri Jun 20, 2003 4:49 pm
Location: Virginia, USA

Postby Candle » Thu Oct 20, 2005 4:52 pm

Thanks for the hint, that would work .
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3077
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby GM-Support » Thu Oct 20, 2005 7:29 pm

BTW, to display a popup message with scripting, you can use the following code:

Code: Select all
MsgBox "You have combined all four pieces."

or better:
Code: Select all
MsgBox "You have combined all four pieces.",VbInformation



GM-Support
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron