Is there a way to do this?

Ask gaming related questions (AHK v1.1 and older)
Pacifista
Posts: 46
Joined: 17 Jan 2022, 16:17

Is there a way to do this?

Post by Pacifista » 10 Aug 2022, 16:02

When my crosshair spots the enemy it turns into another color.

For example, if crosshair turns to yellow can i make it left click with a script?
Last edited by gregster on 10 Aug 2022, 16:04, edited 1 time in total.
Reason: Topic moved from 'Scripts and Functions'.

swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Is there a way to do this?

Post by swagfag » 11 Aug 2022, 18:16

Loop PixelGetColor and Click whenever ur If condition is satisfied

Pacifista
Posts: 46
Joined: 17 Jan 2022, 16:17

Re: Is there a way to do this?

Post by Pacifista » 11 Aug 2022, 18:47

Umm how is it gonna pick the color exactly?

swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Is there a way to do this?

Post by swagfag » 11 Aug 2022, 20:04

i dont understand what ure asking. do u want me to explain to u the mechanism by which PixelGetColor works? it calls GetPixel. if u need more details than that, find a microsoft employee whos worked on implementing that function


Post Reply

Return to “Gaming Help (v1)”