|
Post by zenkrye on Apr 13, 2020 18:24:15 GMT
I have a could of images that takes a second or two to remove from the screen. I was thinking I could use waitVanish() to hold up the code until the images is off the screen. Is there a way to make it work with Match?
local id, tid, match = regionWaitMulti(Images, 0, cbDebug, Skip)
if (id == -1) then
wait(10) -- Give time for things to Update
elseif (id ~= nil) then
click(match)
waitVanish(match, 3) -- Give delay for load
end
|
|
|
Post by AnkuLua on Apr 14, 2020 0:57:00 GMT
Change waitVanish(match, 3) to waitVanish(Images[id].target, 3)
|
|
|
Post by zenkrye on Apr 14, 2020 16:47:34 GMT
Thanks, that did the trick!
|
|