Action after four click on hotspot possible?[solved]

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

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

Action after four click on hotspot possible?[solved]

Postby Aiden » Sat Oct 27, 2007 7:59 am

Action after four click on hotspot possible?
Aiden
Member
 
Posts: 20
Joined: Fri Jun 08, 2007 9:30 am

Postby Mystery » Sat Oct 27, 2007 2:59 pm

Yes :)

Create a new integer variable, e.g. MyVariable

Then add to the advanced tab of your hotspot properties

Code: Select all
MyVariable=MyVariable-1
If MyVariable=-4 Then Action.GoToFrame "FrameName"


Or replace the required action in the code above. Good luck :)
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland

Postby Aiden » Mon Oct 29, 2007 9:36 pm

Thanks Mystery, its work!
Aiden
Member
 
Posts: 20
Joined: Fri Jun 08, 2007 9:30 am

Postby Mystery » Tue Oct 30, 2007 12:08 am

You're very welcome, Aiden :)
Glad you got it to work.
User avatar
Mystery
Forum Admin and Games Page admin
 
Posts: 2990
Joined: Sat Feb 04, 2006 8:12 am
Location: Switzerland


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron