I used imagesearch to work with statistical pictures, so I started experimenting and asked to mark 1 pixel on the other end to draw. And, my script stopped finding this object. In general, the object that I need to find directly in the combat mission has a small transparency, moves and can be influenced by small external factors, such as a small smoke or splashes from water.
Can you tell me if there are any errors in my code? And in general, which method will be more effective in this case?
Code: Select all
a::
imagesearch, x, y, 0, 0, 1920, 1080, *80 img.png
msgbox, %x% - %y%
return
[Mod action: Topic moved from "AutoHotkey Development" which is for discussing the development of the AutoHotkey language, not for asking for help with your gaming scripts. Please note where your thread was moved to and post in the correct section in the future.]