Changing Spawn Rooms For Players On Capture

  • If you're asking a question make sure to set the thread type to be a question!
Oct 6, 2008
1,947
445
Hi,

Never been able to figure this one out properly.

What's the best way to teleport players in one room to their new room without killing them then a cap point has been capped by the opposing team?.

i.e. They've just respawned inside their room, team x caps point locking the door and the player stuck inside should be automatically transported to their next starting point.
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
Use a trigger_teleport in the old spawn tied to an info_teleport_destination or whatever in the new spawn room. just send an Enable input to the teleport on whatever event
 

HueZee_

L1: Registered
Apr 28, 2018
28
15
if you wanna get fancy and do something like valve does you can set rounds like they do and set player spawn location change based on rounds. unless for whatever reason you need the game to continue without rounds, you can also do what valve does and have forward respawns when their capture zone progresses. anyone who spawns at the exact moment that next point is capped will still have to walk the long way but anyone spawning after the capture will be at the new forward spawn.
otherwise if you require people moved up actively you can do what DrSquishy suggested and teleport any stray respawns forwards, and also set a respawn change so they dont need to be teleported after the fact.