About 4 hours ago I realized that I played Blockade 3D in the past so I went to that game and I saw that the colors never change, there is no dynamic light(you can enable it) so I did this:
Code: Select all
LAlt::
MouseGetPos, xposm, yposm
MouseGetPos, xposb, yposb
xposm-=100
xposb+=100
yposm-=100
yposb+=100
PixelSearch, Px, Py, %xposm%, %yposm%, %xposb%, %yposb%, 0x31C308, 3, Fast
Mousemove, %Px%,%Py%, 25