How do I select a random number in a blueprint?

So I have a blueprint with 9 different things which could happen and to determine which 1 of those 9 sequences will run, I was wondering if it’s possible to pick a random number between 0 and 9 and the number that’s picked is the branch that runs. I know that there’s a random number node but I’m not sure how to use it to have 9 different branches.

You can use the output of Random integer node as an Input to “Switch on Int” node . You can add as many integer pins you want in your switch node.

59374-switch.png

1 Like