I am a little confused by the pregame spawning situation. In particular, what counts as island start and how a pregame lobby changes when it becomes the game.
This is the flow I want:
Players join pregame lobby at island start spawn points
When the game starts, users spawn in at the game spawn points
Users joining mid game do not go to the pregame lobby
Any variant of spawners I try here seems to not really work. I have tried setting pregame spawners as island start vs not, setting different priority levels of spawners, and setting spawners as being enabled or disabled during pregame or in game phases.
Right now, I have nothing listed as island start but pregame and in game phase spawners. No matter what when the game begins players spawn in at the pregame spawners. Why? How do I get the flow I am looking for here?
Pregame doesn’t mean “when players are already spawned on round start” it’s an initialization state that happens before the first round of your game
To achieve what you want to do, you’ll need to disable spawners after you decided when your game started, since I’m guessing you don’t want players to spawn on the 2nd spawners if they connected 1s after the round started
@im_a_lama Thanks for the reply! I’m not sure I totally understand and was hoping to clarify:
There is a pregame phase and a game phase, which is marked by the autostart countdown timer in IslandSettings. I want a set of spawners for that phase only. Once the game starts, I don’t want players to go to these spawners, but rather actually start the game.
I think I figured out the rest, but I am not sure how to set up the spawners such that when the game starts the players don’t spawn on the island start and/or pregame phase only spawners.
I can disable the pregame spawners after the game starts (as decided by the autostart timer completing and the pregame phase ending, not something I develop myself) but that doesn’t solve the problem of people spawning into the first round / start of game at the pregame spawners instead of the in game ones.
Do you have any ideas for how to set that up? I discovered that if you don’t have the spawners be Island start but you list them as pregame or in game phase on the spawner setting the rest of the behavior is as intended with the exception of this pregame start situation.
TLDR: How do I make people in the pregame lobby who spawned at pregame spawners spawn at the in game spawners on round/game start instead of back at the pregame spawners again.
Yes set your island start lobby spawnpads to priority 2 (lower) and your gameplay spawnpads to priority 1 (higher)
You can keep the island start spawners enabled, unless they’ve changed recently spawnpads don’t retain the changes to disable/enable across rounds
What you can do is have some teleporters that are enabled during game phase, they use the lobby spawnpads, on player spawned event to immediately teleport a joining player to the game area.
You use a few and set them to affect different players by team.
Thanks Lama, I never considered that way before, so much simpler… I haven’t even been doing gameplay spawns in game phase either… I will be incorporating this in the next update of a certain project.