Ok so im writing a gnome agility course for my first script.
Ive read a lot of guides and tuts and I have this so far for the Log obstacle.
SCAR Code:
////////////////////////////////////////////////
procedure FindLog; //Find+Walk Across the Log//
begin ////////////////////////////
repeat
FindColorTolerance(x1,y1,4638,230,120,400,400,10);
MMouse(x1,y1,2,2)
wait(700+(300))
until(IsUpText('ross'))
if(IsUpText('ross'))then
Mouse(x1,y1,2,2,true)
Writeln('Crossing Log')
wait(3500 + random(300))
end;
I was just wondering if this is ok?
It seems to work fine, but I really want to put one thing on the end of this procedure.
I want it to know when it has crossed the log.
I figured that I could just move the mouse to just below the players feet, then if it finds green, it returns "Successfully crossed log" then finishes the procedure, if it cant find the colour then it waits and then starts to look for the log again.
But I cant workout what I need to use, can anyone help me?
Thanks in advance
neG