SRL Archive - OSR Help

How can I Identify Drops on Ground..


astoria1112000

2011-12-11 07:57:36

Is there any way to identify drops on ground. I will like to ad looting functionality in my combat script.

YoHoJo

2011-12-11 08:09:51

http://villavu.com/forum/showthread.php?t=26944
It's awesome!
I'm going to make some video tutorials for it later!

sjlou

2011-12-11 08:13:37

look for the colour and check with isuptext

if(FindColorSpiralTolerance(X, Y, 000000, MSX1, MSY1, MSX2, MSY2, 10)) then
begin
MMouse(x,y,0,0);
if IsUpText('')then
Mouse(x,y,0,0,true);

YoHoJo

2011-12-11 08:15:30

^Yeah that works also, just pick a nice color and have enough tolerance and that will be just fine.