Posts: 2
Threads: 1
Joined: Jul 2024
<p>How to implement the sleep function in minion?<br></p>
Posts: 2
Threads: 1
Joined: Jul 2024
I found a function that barely works.
ml_global_information.Queue()
The definition of this function is inside the Bots\FFXIVMinion64\LuaMods\ffxivminion\ffxiv_init.lua file.
Use it like this: ml_global_information.Queue(5000,function() Player:MoveTo(2,2,9) end)
The problem with this is that it does not block the execution of subsequent code. The delay only applies to the operation input to this Queue function.