I am trying to loop over the Y of an arrays and if an array field contains the string "delay", it should wait an X amount of seconds and then continue with the loop. This seems to be harder than imagined, because loops and for each's ignore the wait event.
I haven't yet since Sunday managed to find a way that works at all. Some of the suggested ways in the forums also don't really do the job.
I've tried to just put a "wait" event in a loop, but that doesn't work per the docs. Tried using a wait 0.01 * loopindex, which doesn't work. Tried running using async functions that contain a wait in the loop. Also have tried many other detailed ways or workarounds but neither was a success...
Made a nicely documented project for it:
Any help would be much appreciated.