How to teleport an entire team

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Sep 21, 2019.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    167
    Positive Ratings:
    31
    If I wanted to make a command to teleport the entire red team or blue team to a specific spot, how would I do that?
     
  2. Narpas

    aa Narpas I don't know what the heck

    Messages:
    367
    Positive Ratings:
    353
    Create a trigger_teleport that covers the entire playable space, and give it a filter for either team. Next, create a target entity (such as info_target or info_teleport_destination) at the spot where you want to teleport each team, and set it as the trigger_teleport's "Remote Destination" keyvalue. Have the trigger start disabled, then enable it when you want to teleport the players and disable it shortly after
     
  3. Kill_the_Bug

    aa Kill_the_Bug

    Messages:
    1,703
    Positive Ratings:
    351
    1. You would have to make one trigger brush for the area where the teleport is to occur and have it start disabled
    2. You will need to apply team filter red/blue specific < if you want specific
    3. You will need a trigger to activate it
    4. You will need a destination to sent them to