Jump to content

Recommended Posts

Posted

Ok... SO I wanna make a pixel search I already did one for 1 colour... But I want the pixel search to search for 2 colours, I dont need the coordinates of the colours I just need it to search for the 2 colours and if it finds at least one of them it does some defined action...

Is it possible?

Posted

I think this will work:

$a=pixelsearch(ur settings)
if $a=not @error then
$b=pixelsearch(yur settings 2)
if $b=not @error then
..ur script..
endif
endif

u can do this without variables

But wont that script search for the 2nd color only if the 1st was found?

I want it to find any of the 2 colors it doesnt matters if it doesnt find one...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...