How do I make a teleporter random?

Im trying to make a battle royale type game and I need to make the teleporters to be random.

wdym “teleporters to be random” and also u can put this as “Help” instead of “Devices”

Just set the teleporters to all have the same group.

2 Likes

this is iffy, but here you go:
place down a lifecycle, then a trigger.
wire the lifecycle to trigger, game starts, trigger.
get a property, and set it to random teleport
go in trigger, make block.
Then put set property random teleport to a random integer between 1 and however many teleporters you have. Put an if statement below it: if property random teleport = 1, broadcast message on channel teleporter1 for 1st, teleporter2 for 2nd, ect. For the next one, set it to else if.
Then make teleporters around map teleport players there when receiving on teleporter1 or teleporter2.
Hope this helps

1 Like

strangely enough, that only picks the closest teleporter

1 Like

In that case, just use spawn pads.

2 Likes

It’s the easiest way. And it’s pretty simple.

1 Like

this is for if they use multiple maps, but if they only use one map, that works too

I doubt they are using multiple maps. Form the look of it, they are making a battle Royale, meaning they want people to spawn in a random location.

1 Like

still, if there wanted to make multiple maps, this is here for them to use later