|
Post by derricksrs on Oct 22, 2018 14:29:54 GMT
??
|
|
|
Post by derricksrs on Oct 22, 2018 16:27:40 GMT
If i replace with this command targetfound = Pattern("monster.png"):targetOffset(0, +47) is that alright?
|
|
|
Post by Exilereven on Oct 22, 2018 19:58:49 GMT
If i replace with this command targetfound = Pattern("monster.png"):targetOffset(0, +47) is that alright? Target offset means, that when it does find your monster.png, if there is a click, or location associated with it, it will then make it target specific coordinates (0,47), which would be top left corner and down 47 pixels. Example: If region:existsClick("monster.png", 1) then -- click directly center of image match End --or you can do this Targetfound = Pattern("monster.png"):targetOffset(0, 47) If region:existsClick(Targetfound) then --it would find the same image and center, but, then it would actually click 0 pixels right (would be negative for left -6,47 etc.) Anytime it clicks thst image while it's still set to pattern. End
|
|
|
Post by derricksrs on Oct 23, 2018 1:02:59 GMT
Good Day, noted with thanks.. it works.
|
|