@andreiem
1e0b3fa6-6cf4-4a07-a1ba-8b2bd053e35e-image.png
b605d594-0d28-4196-bfff-ef2c060ab37d-image.png
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!