Garrett19212 Posted March 16, 2005 Share Posted March 16, 2005 How would i find if a specific spot is a specific color? Like how would i find that X 172 Y 455 is 0x14341C 0x14341C is the hex color. And if that area is that color how would i make it exit a loop? Link to comment Share on other sites More sharing options...
Blue_Drache Posted March 16, 2005 Share Posted March 16, 2005 (edited) How would i find if a specific spot is a specific color?Like how would i find that X 172 Y 455 is 0x14341C0x14341C is the hex color.And if that area is that color how would i make it exit a loop?<{POST_SNAPBACK}>While 1 Sleep(10) $spot = Pixelsearch(x1,y1,x2,y2,colour) If Not @error = 1 then ExitLoop WEnd #CS x1,y1 +----------+ | | | | | | +----------+ x2,y2 #CESo in your case: x1 = x2 and y1 = y2. $spot = Pixelsearch(172,455,172,455,0x14341C) Edited March 16, 2005 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Garrett19212 Posted March 16, 2005 Author Share Posted March 16, 2005 thx Link to comment Share on other sites More sharing options...
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