brad25 Posted August 13, 2008 Share Posted August 13, 2008 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 ) 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:) Link to comment Share on other sites More sharing options...
qazwsx Posted August 13, 2008 Share Posted August 13, 2008 im confused as to what your question is. Link to comment Share on other sites More sharing options...
brad25 Posted August 13, 2008 Author Share Posted August 13, 2008 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 Link to comment Share on other sites More sharing options...
Datenshi Posted August 13, 2008 Share Posted August 13, 2008 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 elseIm 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 RapidQueuer 2.4 - For Rapidshare.comOpensubtitles Hashing FuncRevision3 PlayerGTPlayer BetaIMDB & Poster Grabber v1.3Fetgrek.com - My Website 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