backup for pick head finding
i remember my friend telling me sometimes he would log on and have like 2 axe handles on each of his guys cause the script couldnt properly find axe head, and i was wondering that as a backup if you could do something like
SCAR Code:
var DropDotColor:Array[0..8] of integer;i:DropDotColo:integer;
SCAR Code:
DropDotColor[0]:=206;
DropDotColor[1]:=217;
DropDotColor[2]:=233;
DropDotColor[3]:=241;
DropDotColo:=DropDotColor[i];
If (Result:=False) then
begin
Repeat
If (FindColorSpiral(x,y,DropDotColo,mmx1,mmy1,mmx2,mmy1) = true) then
mouse(x,y,0,0,true)
result:=true
if not (FindColorSpiral(x,y,DropDotColo,mmx1,mmy1,mmx2,mmy1) = true) then
I := I+1;
Until (i:=4) or (Result:=true);
end;
i havent finished it yet, i am trying to get the pickhead off my axe so i can try and finish this, but i was hoping this would take u to the nearest drop dot on mm and search for the pickhead on screen or at least the color of the pickhead as a backup if all else fails kinda deal