Random result function?

Hey Guys,

im searching a function to randomise a result.
E.g. A player choose a number from 1 to 3 and for each number there are 3 different ways to continue which are choosen randomly.


Perhaps a Random float (0-2 (3 total))-> Switch node?

Function Random Result, Input Float or Int (make default to be 3), plug Input to Max of Random Float/Int in Range, put 1 in Min, Return Output has result from Random.


Just for you, loaded up Unreal.

Adding to what Yggdrasil posted, you could hook that final integer up to a ‘Switch on Int’, which is what will let certain execution pins fire based on the integer.