Log in

View Full Version : How would i make the mouse go to a ground item and right click?



laakerules
12-26-2011, 07:59 PM
Then make it go down to lets say 'ake', 'harm'?

PatDuffy
12-26-2011, 08:04 PM
Well you would first have to find the item on the ground, you can use a dtm, bitmap, or color for that. Then Mouse(x,y,rx,ry,false) would right click the area, , OptionsExist(['ake','(itemname)']) would be your check to see if the item is there, ChooseOption('ake') would take the item.

Look at how I found papaya's in my papaya plunderer script. I used TPA's for that, but you could just use a FindObj then see how I check to see if the item actually existed.

YoHoJo
12-26-2011, 08:05 PM
http://villavu.com/forum/showthread.php?t=26944