The 2nd one doesn't work(trying to pick up armor). So how should I get the color? If I make it search for the color through the whole screen, lots of things are that color..
The 2nd one doesn't work(trying to pick up armor). So how should I get the color? If I make it search for the color through the whole screen, lots of things are that color..
Last edited by uncfan1119; 10-18-2009 at 07:17 PM.
"SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
-Wizzup?
well u can drag the crosshairs over the objectr and then select coords around the object if its in the same place everytime and try that
srry if i didnt help i couldnt see the pic
try GameTab(Tab_Inv);
NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN
NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN
Just make this:
SCAR Code:x := MSCX;
y := MSCY;
FindColorSpiralTolerance(x, y, Color, MSX1, MSY1, MSX2, MSY2, Tolerance);
That will spiral from the center (your player) to the outside, looking for the colour. It will return the coords at x,y.
Problem solved, been helping mah buddy on AIM witht this foreverrrr
Doing
MSCX-30,MSCY-30,MSCX+30,MSCY+30
The spiral out from center is also a good idea![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)