Going to another frame when items are draged & droped

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

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

Going to another frame when items are draged & droped

Postby Mr.C » Sun Aug 23, 2009 11:22 pm

Hey there,

I was wondering how I can go to another frame when I drag and drop the last of six or more items?
Mr.C
Member
 
Posts: 35
Joined: Sun Aug 31, 2008 9:02 pm

Postby Lyberodoggy » Mon Aug 24, 2009 7:31 pm

create an integer variable and name it itemcount
Drag n drop each and every one of the 6 items on the hotspot
in the advanced tab, type this code
Code: Select all
itemcount=itemcount+1
if itemcount=6 then action.gotoframe "framename"

then make sure the items are used only once
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Drag and droping items

Postby Mr.C » Tue Aug 25, 2009 9:04 pm

Hey there Lyberodoggy,

Thanks, that saved me a lot of trouble! :D
Mr.C
Member
 
Posts: 35
Joined: Sun Aug 31, 2008 9:02 pm

Postby Lyberodoggy » Fri Aug 28, 2009 10:38 pm

No problem ;)
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron