How would I be able to set up a random pickup for a single actor?

Hello, how i can set random pickup (example: max speed,max jump) in a single actor? Thanks(sorry for my english)

Switch on Int, then put a Random Int node on it. Each number leads to a different powerup.

thanks for the reply. But can you post an example Blueprint? i tried but didn’t work.

Here is my solution for the PowerUP thing for you :slight_smile:

Create a ActorClasses for your PowerUp’s and add them to the SpawnActor which you can see in the screenshots.

This is very basic and quickly done. You have do more things that this makes sense for a game, but you will do it
anyway if you program the pickup part, that a PowerUp dissapear. Because right now they have a unlimited lifetime.

PS: I choosed a trigger volume for the spawn, you can use ofc a diffrent event.

Have fun.

Hi Luka,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Thanks,it works!! i added the powerup to every Actor.