# Random Number Generator and different Spawnpads

**URL:** <https://forums.unrealengine.com/t/random-number-generator-and-different-spawnpads/2176574>\
**Category:** Devices\
**Tags:** spawn, interaction, random-numbers, unreal-engine, question\
**Created:** [December 6, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/random-number-generator-and-different-spawnpads/2176574 "2024-12-06T14:08:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garnelchen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Garnelchen](https://forums.unrealengine.com/u/Garnelchen)\
**Post date:** [December 6, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/random-number-generator-and-different-spawnpads/2176574/1 "2024-12-06T14:08:09Z")

</div>

Hello,

I try put to geberate a random Spawn Mechanic after a kill.

So i have the following setup:  
-----------⁰—⁰----⁰----⁰–  
Team 1: – 1 – 2 – 3 – 4 –  
Team 2: – 1 – 2 – 3 – 4 –  
-----------⁰—⁰----⁰----⁰–

Thats my Spawners - each number is a different one and the “⁰” are teleporters

The Spawners are set to each team (1 and 2) island spawn is on Spawner 1 and thats the only slawner which is active at start

I set up to shut the spawner off, after a player spawns on the pad - so if player 2 spawns after starting, the spawner is disabled (thats set up on every spawnpad)

All other spawner are diabled at the beginning.

Than i set up a random number generator, i put in 3 trigger, each trigger hast following funktions and events:

Trigger 1: After activation, activate the teleporter for spawner 1 for team 1 and 2 and activate the spawner 1 for team 1 and 2

The random number generator is activated by kill from.team 1 or kill from team 2

Now i have a few problems, if i kill player 2 i got teleported to the next area, but the other player spawns in the air.

And also sometimes the random.number generator activates 2 triggers at the same time - it looks like i got too much trigger events on the number generator.

I set up elimination manager 1 and 2 after elimination and after eliminated - so 4 events

If i set up only activate by elimination for both elimination managers, the opponent spawns in the air

If i set up activate by elimination and by eliminated, the other player slqwns in a different spawnpad than me - and i got 2 triggers activated (i count it with an scoremanager to understand what happened)

What can i do? I want a random.picker so player spawn in random maps
