Post by davelee on Mar 21, 2019 11:27:19 GMT
i got this script wit Snap & Play:
is there a way that he only search for 1. png and if he finds, go to next png?
is there a way that he only search for 1. png and if he finds, go to next png?
----- created by AnkuLua snap and play script ------
immersive = false
setImmersiveMode(immersive)
genVersion = "8.3.0-trial"
setAutoGameArea = true
pcall (autoGameArea, setAutoGameArea)
scriptDimension = 1920
Settings:setScriptDimension(true, scriptDimension)
Settings:setCompareDimension(true, scriptDimension)
local index = 1
touchList = {}
waitList = {}
------ xxx -----
touchList[index] = {target = "1.png", region = Region(868, 869, 200, 200), id = "1", action = 'click'}
index = index + 1
------ xxx ----
touchList[index] = {target = "lila.png", region = Region(475, 76, 1100, 1050), id = "2", action = 'click'}
index = index + 1
------ xxx -----
touchList[index] = {target = "blue.png", region = Region(332, 73, 1100, 1050), id = "3", action = 'click'}
index = index + 1
------ xxx -----
touchList[index] = {target = "green.png", region = Region(332, 73, 1100, 1050), id = "4", action = 'click'}
index = index + 1
------ xxx -----
touchList[index] = {target = "2.png", region = Region(995, 740, 200, 200), id = "5", action = 'click'}
index = index + 1
------ xxx-----
touchList[index] = {target = "3.png", region = Region(1048, 745, 200, 200), id = "6", action = 'click'}
index = index + 1
------ xxx-----
touchList[index] = {target = "4.png", region = Region(1043, 761, 200, 200), id = "7", action = 'click'}
index = index + 1
------ xxx-----
touchList[index] = {target = "5.png", region = Region(1438, 927, 200, 200), id = "8", action = 'click'}
index = index + 1
immersive = false
setImmersiveMode(immersive)
genVersion = "8.3.0-trial"
setAutoGameArea = true
pcall (autoGameArea, setAutoGameArea)
scriptDimension = 1920
Settings:setScriptDimension(true, scriptDimension)
Settings:setCompareDimension(true, scriptDimension)
local index = 1
touchList = {}
waitList = {}
------ xxx -----
touchList[index] = {target = "1.png", region = Region(868, 869, 200, 200), id = "1", action = 'click'}
index = index + 1
------ xxx ----
touchList[index] = {target = "lila.png", region = Region(475, 76, 1100, 1050), id = "2", action = 'click'}
index = index + 1
------ xxx -----
touchList[index] = {target = "blue.png", region = Region(332, 73, 1100, 1050), id = "3", action = 'click'}
index = index + 1
------ xxx -----
touchList[index] = {target = "green.png", region = Region(332, 73, 1100, 1050), id = "4", action = 'click'}
index = index + 1
------ xxx -----
touchList[index] = {target = "2.png", region = Region(995, 740, 200, 200), id = "5", action = 'click'}
index = index + 1
------ xxx-----
touchList[index] = {target = "3.png", region = Region(1048, 745, 200, 200), id = "6", action = 'click'}
index = index + 1
------ xxx-----
touchList[index] = {target = "4.png", region = Region(1043, 761, 200, 200), id = "7", action = 'click'}
index = index + 1
------ xxx-----
touchList[index] = {target = "5.png", region = Region(1438, 927, 200, 200), id = "8", action = 'click'}
index = index + 1