kart442 Posted October 27, 2007 Posted October 27, 2007 Just need to know how to get the array to function correctly. Thanks for your help CODE$color1 = _ArrayCreate (PixelGetColor($x, $y),PixelGetColor($x, $yu1),PixelGetColor($x, $yu3)) _ArrayDisplay($color1) if $color1[0] = $color[1] And $color1[2] Then MouseMove($x,$yu2) MouseMove($x,$yu3) EndIf Next
dexxa Posted October 27, 2007 Posted October 27, 2007 if $color1[0] = $color[1] And $color[0] = $color1[2] Then and wuts that next doing there
kart442 Posted October 27, 2007 Author Posted October 27, 2007 if $color1[0] = $color[1] And $color[0] = $color1[2] Then and wuts that next doing there There is some other code above that has the "FOR" But "if $color1[0] = $color[1] And $color[0] = $color1[2]" still didn't make the mouse move and the colors are all equal. There are no errors.
Nevin Posted October 27, 2007 Posted October 27, 2007 Have you tried an _arraydisplay to make sure the correct values are in there?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now