Ultratech Posted November 7, 2006 Posted November 7, 2006 I need help with a pixel color. I believe there was another post about using it for Diablo II as an auto heal, what I need help with is how would i assign that to a button, and create another button to disable autoheal? So button would enable it, button 2 would disable it, but I don't know how to use pixel color, can someone give me an example?
lolp1 Posted November 7, 2006 Posted November 7, 2006 (edited) This is a simplelfyed version of how I use to do it:Global $Paused Hotkeyset("{INSERT}", "autopotion") $Paused = NOT $Paused While $Paused Func autopotion() $x = 76 $y = 462 While 1 Sleep(100) If PixelGetColor($x, $y) = 0x8C7D52 Then Send("1") WEnd Endfunc Edited November 7, 2006 by lolp1
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