pmqq
New Member
Posts: 2
|
pmqq 發表於 Jun 16, 2018 16:48:10 GMT
-----由AnkuLua創建快照和播放腳本------ immersive = false setImmersiveMode(immersive) scriptDimension = 1280 設置:setScriptDimension(true,scriptDimension) 設置:setCompareDimension(true,scriptDimension) local index = 1 touchList = {} waitList = {}
- ----- 1 ----- touchList [index] = {target =“1.png”,region = Region(617,354,150,150),id =“1”,action ='點擊' }} index = index + 1
------ 2 ----- touchList [index] = {target =“2.png”,region = Region(1120,599,150,150),id =“2”,action = '點擊'} index = index + 1
------ 3 ----- touchList [index] = {target =“3.png”,region = Region(1115,607,150,150),id =“3”, action ='點擊'}}
index = index + 1
------ 4 ----- touchList [index] = {target =“4.png”,region = Region(1111,607,150,150),id =“4”,action ='click '} index = index + 1
------ 5 ----- touchList [index] = {target =“5.png”,region = Region(1096,-39,150,150),id =“5”,action ='點擊'} index = index + 1
~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 聽說是2秒執行一個指令?那請問可以讓他更久要要怎加添等待更久指令!我想讓他找圖點擊這指令完成之後等待一段時間在執行下面指令之後等待一段時間在執行!(這樣重覆下去)
|
|
|
AnkuLua 發表於 Jun 16, 2018 23:55:08 GMT
參考一下 如果要在圖2點擊完後等十秒可以改成下方,藍色是更改部分
------ 2 ----- touchList[index] = {target = "2.png", region = Region(1120, 599, 150, 150), id = "2", action = 'click(matchResult);wait(10)'} index = index + 1
|
|
pmqq
New Member
Posts: 2
|
pmqq 發表於 Jun 17, 2018 3:00:06 GMT
了解謝謝唷
|
|