return visited location

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

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

return visited location

Postby Giuseppe » Tue Aug 25, 2009 5:53 pm

I have this problem: I enter a location and appear a message with Action.CreateTimedEvent 3, "Action.LoadApicture Hotspot (2), "" .gif"" ( work fine) . I go to another location and then returned to what it was before but I do not want to appear as the message.

I tried with a variant variabiles: prova

Action.CreateTimedEvent 9, "If prova = false Then Action.LoadAPicture Hotspot (2)"": prova=true"" , false

but dont'work
Giuseppe
Frequent Poster
 
Posts: 147
Joined: Wed Mar 12, 2008 12:01 pm

Postby mercedes » Tue Aug 25, 2009 10:51 pm

To keep track of things...Is this the same Code we were working on before...?
And u are saying when u go back to the frame..--The Picture reappears..?

Did u put the code into the Frame's Properties--not hotspot

Why do u have 3 in one code and 9 in the other..?

Do u want it to only appear once and never again..?

I gather this is just a message u want to appear..right..?
Put it with an IF statement...Make it so Prova = 1 when the frame loads..and an If statement..
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Giuseppe » Wed Aug 26, 2009 11:23 am

mercedes wrote:To keep track of things...Is this the same Code we were working on before...?
And u are saying when u go back to the frame..--The Picture reappears..?

Did u put the code into the Frame's Properties--not hotspot

Why do u have 3 in one code and 9 in the other..?

Do u want it to only appear once and never again..?

I gather this is just a message u want to appear..right..?
Put it with an IF statement...Make it so Prova = 1 when the frame loads..and an If statement..


This is the solution I've found in the properties frame:

Action.CreateTimedEvent 3, "ActionLoadAPicture Hotspot (2)...etc ( load picture)

Action.CreateTimedEvent 9, "ActionLoadAPicture Hotspot (2), """"" (hotspot invisible)

Action.CreateTimedEvent 9, "ActionSimulateHotspotClick 2"


( in hotspot properties, click hide and disabled when clicked)
Last edited by Giuseppe on Thu Aug 27, 2009 1:26 pm, edited 1 time in total.
Giuseppe
Frequent Poster
 
Posts: 147
Joined: Wed Mar 12, 2008 12:01 pm

Postby mercedes » Wed Aug 26, 2009 5:50 pm

Ohh i see...this is the same picture and you wanted it to load and leave from the frame's properties..hence the 3 and 9...ok...

Glad you figured it out...:)

Peace~
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron