TransWikia.com

Teleport unknown amount of players to a specific area

Arqade Asked by EpicSp. on December 22, 2020

I’m making a server full of mini-games, and I’m running into small problems on specific games. I got everything set up except for this issue:

In racing games, I’m having trouble teleporting the winner (or top 3, I know how to place them) to a “podium”: I don’t know how to let the game know how many players there are, and teleport the winners into one area and everybody else into another.

One Answer

I'm not entirely sure how to fix the first problem but the second one can be solved by using /tag (Insert target selector for winning players) add Winners and then using /tp @a [tag=!Winners] <x,y,z> to teleport the rest of the players. /tag gives a specific data tag to players or entities that helps specify who you want your commands to affect.

Answered by NobodyusingNull on December 22, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP