|
Post by crisarrr on Apr 16, 2021 0:46:35 GMT
I am doing a bot auto attack in a game, I want it to write coordinates to where it will be sent, this is what I have ready:
... ... ... if exists("Deployment.png") then existClick(ATK.AtkAntro9.SendMarch) end -- existsClick(ATK.AtkAntro9.TypeX) wait(1.2) type("XX") click(ATK.AtkAntro9.TypeX) wait(1) -- existsClick(ATK.AtkAntro9.TypeY) wait(1.2) type("YY") click(ATK.AtkAntro9.TypeY) wait(1) -- existsClick(ATK.AtkAntro9.Next) ... ... ... while true do if region.image:existsClick("SendMarch.png") then AtkAntro() end end
I have 154 different values for "XX" and "YY" (x1, y1; x2, y2 ... X154, Y154) any way that the value of "XX" and "YY" are replaced by those 154 different values in order each time the AtkAntro () function is repeated? I want to summarize it and make short the adjustments Thanks and srry for bad english
|
|