Below is a section of my auto fighter, have i used arrays correctly? or would i be better of using a multi colour call? How do you go about making it loop? and how do i call on the infight function, where?
SCAR Code:Procedure Slaughter
var
CC: array [0..3] of integer;
i, g, Cx, Cy :integer;
Begin
CC[0]:= 14804196;
CC[1]:= 2576236;
CC[2]:= 2708595;
for g:= 0 to 2 do
Begin
if (FindColorTolerance( Cx, Cy, CC[g], 175, 60, 330, 200, Tolerance + i)) then
if IsUpText('Cow') then
Begin
Wait(500);
Mouse(Cx,Cy,3,3,True)
End;
End;
End;




Reply With Quote







