Yes that's what i tried to do relaunch the Loop but it waste time on the already detected elements on the first loop. thanks for your answer mate !
My Solution :
Try using labels inside the loop Works fine
Loop section within a script random amount of times before moving on
-
Can someone provide an example code of looping a section within a script a random amount of times before moving on?
Thanks
-
@juniperberry said in Loop section within a script random amount of times before moving on:
Can someone provide an example code of looping a section within a script a random amount of times before moving on?
Thanks
Use the "for" loop and the "Random Number" action
-
Doesn't seem to be working, I want to run the script, then once it gets to a certain part, loop a section of the script, then once its looped the amount of random times, move on.
I'm putting the 'for loop' part before looped section and the current loop repetition after, but it doesn't work, just runs the script as if there isnt the 'for loop' included.
Cheers for any help
-
@juniperberry said in Loop section within a script random amount of times before moving on:
Doesn't seem to be working, I want to run the script, then once it gets to a certain part, loop a section of the script, then once its looped the amount of random times, move on.
I'm putting the 'for loop' part before looped section and the current loop repetition after, but it doesn't work, just runs the script as if there isnt the 'for loop' included.
Cheers for any help
-
thanks man!