AHK for QTE game
AHK for QTE game
basically the game is click to fight, and there is a minigame when mobs attack u, i want to make a script that press SPACE when the line crosses yellow bar, the yellow bar can be smaller though
- Attachments
-
- Screenshot 2024-02-05 151606.png (185.27 KiB) Viewed 288 times
Re: AHK for QTE game
It should be relatively easy to script by using ImageSearch to look for a reference image of a strip of vertical white pixels next to vertical yellow pixels. It might require using the *Trans option to have it skip over the pixels at the transition between white and yellow since they might be blended and difficult to match. Then you're just looking for two sets colors within close proximity and not worrying about matching the blended pixels.
Having said that, depending on how fast the bar is moving, AHK might not be fast enough to find it unless you can wait for it to cross many times until it happens to catch it just at the right moment. I suspect it's moving too fast to reliably find the first time it crosses.
Having said that, depending on how fast the bar is moving, AHK might not be fast enough to find it unless you can wait for it to cross many times until it happens to catch it just at the right moment. I suspect it's moving too fast to reliably find the first time it crosses.
Who is online
Users browsing this forum: Patrycy and 6 guests