Been trying to figure this out on my own for days now but I just can't. So hope someone here can put me in the right direction.
This is my setup:
Globalvariable 'layoutsdone' = (counts how many layouts you have cleared, gets +1 everytime you leave a layout)
Now I have whenever the player leaves a layout he goes to Choose(layout1,layout2,layout3,layout4) But right now is goes like this:
In order: layout1, layout2, layout2, layout3. And multiple other ways I don't want it to go.
How I want it:
in order: Layout2, Layout1,Layout4,layout3. or Layout4, Layout1, Layout3, Layout4. Or any other way, I just don't want any duplicate Layouts in the same run.
However when all the layouts have been had, and there are no unique ones left. I just want it to restart.
I also said I count the amount of layouts cleared with the global variable 'Layoutsdone'.
When 'Layoutsdone' =10 or 20 or 30 or 40. I want it to go to Layout5. After layout 5 I just want it to continue where it left off.
I hope I made clear what I want to achieve and someone can help me out.
PS: I looked at this tutorial but don't know if it can be of any use.
I found this plugin. but also don't know if I can use it in my case.