Post by amati on Jul 25, 2021 8:50:03 GMT
Hey! I am using a function like this.
function fight()
reg = Region(628, 23, 24, 26)
while reg:exists("pause.png", 0) do
actionList = {{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = d1},
{action = "wait", target = 0},
{action = "touchUp", target = d1},
{action = "wait", target = 0},
{action = "touchDown", target = b1},
{action = "wait", target = 0},
{action = "touchMove", target = b2},
{action = "touchUp", target = b2},
{action = "wait", target = 0},
{action = "touchDown", target = b1},
{action = "wait", target = 0},
{action = "touchMove", target = b2},
{action = "touchUp", target = b2},
{action = "wait", target = 0},
{action = "touchDown", target = a1},
{action = "wait", target = 0},
{action = "touchMove", target = a2},
{action = "touchUp", target = a2},
{action = "wait", target = 0},
{action = "touchDown", target = a1},
{action = "wait", target = 0},
{action = "touchMove", target = a2},
{action = "touchUp", target = a2},
{action = "wait", target = 0},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0.2},
{action = "touchDown", target = c1},
{action = "wait", target = 0},
{action = "touchUp", target = c1},
{action = "wait", target = 0},
{action = "touchDown", target = c1},
{action = "wait", target = 0.3},
{action = "touchUp", target = c1},
{action = "wait", target = 0}}
manualTouch(actionList)
end
end
This is fighting in a fighting game. Great speed is needed here. How can you reduce the pause after
manualTouch (actionList)? I need my fighter to constantly strike without stopping.