Hey all
im looking for a way to search from the center off the screen outwards for a color and having no luck finding it =[
any ideas guys?
looking to find a color that is close to the player if not the looking further away in a square radius
thanks
Hey all
im looking for a way to search from the center off the screen outwards for a color and having no luck finding it =[
any ideas guys?
looking to find a color that is close to the player if not the looking further away in a square radius
thanks
Learning To Code - So Excuse the n00b questions!
findcolorspiraltolerance
![]()
Oh Hai Dar
Simba Code:if(FindColorSpiralTolerance(X, Y, color, 270, 9, 450, 250, 10)) then
at the moment but it still seams to click anywhere it wants
Learning To Code - So Excuse the n00b questions!
You mean, not from the point closest to the center?
Also, try findColorsSpiralTolerance. That lets you specify where to start searching from, though you'd need to store the results in a TPA, then click at TPA[0].x,TPA[0].y
eg:
Simba Code:findcolorsspiraltolerance(MSc1,MSc2,TPA,color,MSx1,MSy1,MSx2,MSy2,10);
if length(TPA) > 0 then
mouse(TPA[0].x,TPA[0].y,5,5,mouse_left);
I believe doing
Simba Code:X:=MSCX;
Y:=MSCY;
if(FindColorSpiralTolerance(X, Y, color, 270, 9, 450, 250, 10)) then
Mouse(X, Y, 5, 5, True);
will search from center outwards.
Ahhh good memories, I remember doing that little 'trick' back in the good ol' days!
Last edited by YoHoJo; 05-23-2012 at 10:13 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)