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

WilliamHamilton
Fri, 22 Aug 2014 14:27:37 +0000
Cinematics & Media

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!

7 posts - 3 participants