Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pixel help
#2
Hello rob im not exactly sure what you are looking for but this is a pixel code i use. Its not too hard to use, the number is the pixel code that its looking for, simply add extra ifs more diff pixels. To get the pixel color get the xy and change the numbers from the example in the int. the before the if Col... put out Col and in the output you will get a new code for color swap the codes and then when it sees that pixel it will out window found. Hope this was helpful, enjoy.

Function Pixel4Rob
Code:
Copy      Help
int Col = pixel(667 230 "window name")
int R G B

ColorToRGB(Col &R &G &B)
if(Col = 7039968)
,out "Window Found"
else
,ret


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)