How do I use a random function?

I want to learn how to use the random functions and also i want to add a exception even the exceptions are 3 i think and the actors that i want to be random are like 8 so pls help me :slight_smile: if there is a video using those functions it will be good to send me one :slight_smile: thanks :slight_smile:

Blueprint or C++?

Just right click and type in random and you will have set of random data types. I seems you looking for spawning random actor or select one? use random integer node and then select node to use that integer as a selecting index.

Blueprint

can you make it in blueprint printscreen and send it pls :slight_smile: ?
i want to spawn them from classes

There you go :slight_smile:

to change select type of inputs and outputs of option right click and chang pin type and you can add more option also by right click menu

tnx man :slight_smile:

How do i select a random one from a blueprint class? I have spawned 5 objects that are the same bp class… How do i Choose random one?