|
Post by brownchoco on Dec 5, 2017 4:39:41 GMT
Hello! I am just a newbie here and I am not familiar to Lua lang. I can understand a bit but somehow it is making me confuse.
I wanted to make a script that can detect an image from specified region then after image detected, some functions will work. It is for a game that have loading bar that fills with green but there is also a small red tab in that bar and I want to make a click when the green hit in that red tab. The red tab is appearing in random position everytime the bar is fully filled in green. It is a loop.
I think the algorith will look like this...
For example...
img1 = <red tab filled with green>
loop every 0.5s if img1 is found click the button in specified region
I just want an auto clicker function whenever the loading bar reaches the red tab in the loading bar. I hope you understand what I mean. Please help.
|
|