How to get random different numbers in range
I'm having a little of a hard time finding the logic behind my problem, let's say i have a range that goes from 1 to N, how could i in blueprint pick a random quantity of integer numbers between 1 and N which are all different? Basically I need: Pick a random quantity (1 <= Q <= N ) of random integer numbers ( 1 <= X <= N ) without X being repeated, all in blueprints.
(comments are locked)

You could fill an array of N size with numbers 1 through N, perform a shuffle on that array, then grab the first X elements.
(comments are locked)

Your answer
Follow this question
Once you sign in you will be able to subscribe for any updates here