How to randomly switch between vectors?

Is it possible to have 4 vectors and randomly choose between one of them?
I tried Vector Array variable with RandomIntInRange but none of the variables were set when I debugged. They did not return a thing.

Try the select node with the wildcard selection type.

It won’t allow for more than 2 vector inputs though.

Hmm. Can’t rigth click on it and add more inputs? Then simply connect up 2 selects into the 2 inputs of the first select.

Your first approach was correct, just make sure that the array is not grayed out

1 Like