How to make random sequence of one condition x times and another condition y times

I want to to run a trial (sequences of blueprint scripts) with two different possible conditions (one condition in 28 of the trials the other 132 trials) 160 times in a random sequence. I have no problem setting up the trial routines in blueprints and making it repeat itself 160 times randomly choosing one or the other condition each trial (branch with random bool stream as condition).

BUT what I can’t figure out is how I should go about making it so that the trial is run 160 times in a random order but with specifically 28 repitions of condition x and 132 repitions of condition y?

Hope I am clear enough and thanks for being a really, really helpful community!

Hey 4everwilliam-

I noticed that you asked the same question here: so I am going to close this post in order to focus attetion on your other post.


Doug Wilson