Sign in to follow this  
Followers 0
brad25

PixelGetColor help

4 posts in this topic

Hi, im making a macro for a game i play and need a little help. im trying to intergrate the PixelGetColor function what im wanting to do is when a certain pixel chages colors i wont it to stop fighting and leave. (means im loseing the fight :P) but i want my macro to still run normally untill that pixel changes red then i need the code so i can make it leave:)

Share this post


Link to post
Share on other sites



im confused as to what your question is.

Share this post


Link to post
Share on other sites

sry for example when x=772 y=413 changes colors to red i want my macro to stop fighting and leave the fight. i jus need the code i need the pixelgetcolor code and once the color is found to promt it to do somthing else

Share this post


Link to post
Share on other sites

sry for example when x=772 y=413 changes colors to red i want my macro to stop fighting and leave the fight. i jus need the code i need the pixelgetcolor code and once the color is found to promt it to do somthing else

Im not sure what you mean exacly, also posting the relevant code makes it much easier for someone to help you. I would guess that you you could put it into a While loop, get the hex for the red color and While loop your code until that color is found then Exitloop

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0