I am using AHK and Runelite. I mark NPCs through Runelite and thought I would pixel search in order to find said NPCs.


The problem I encounter is that AHK PixelSearch starts in one corner and moves along the entire X axis before moving up to the Y axis.

For other scripts in order to get a truly random clicks on say Agility Marker Boxes, I run 2 Pixel Searches, one starts from one corner and the other from the opposite.

This is not a valid strategy for Combat however because you have multiple NPCs on screen at one, and it will not find valid coordinated for a single NPC.

I was wondering if someone had a different approach which could nudge me in the right direction.

Thanks!