pixel color trigger

Ask gaming related questions (AHK v1.1 and older)
doomeyes2
Posts: 13
Joined: 13 Apr 2021, 18:19

pixel color trigger

15 Apr 2021, 18:36

hey guys i need a cript for a game i used other but the game have
transparent health bar thats make the hp bar colors change while i walk
i think when the hp bar is red its not
transparent but when i lose hp it is so i need a script like this one

if color is not X send f1 and a play pause buttom
User avatar
mikeyww
Posts: 26877
Joined: 09 Sep 2014, 18:38

Re: pixel color trigger

17 Apr 2021, 12:50

Code: Select all

PixelGetColor, color, 500, 500
If (color != 0xABCDEF) ; Blue, green, red
 Send {F1}{Media_Play_Pause}

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: prototype_zero and 68 guests