Teleport destination being team-specific

Phil25

L1: Registered
Jun 13, 2015
49
10
Is there a way to create a single teleporter trigger and having it teleport RED to one destination and BLU to the other? I understand that it can be done using two different ones and the filter_activator_tfteam entity but that doesn't seem like a clean way at all.

Thanks in advance. :)
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,258
999
Build:
  • trigger_multiple brush
  • A pair of team filter entities (filter_activator_tfteam) named filter_blu/red
  • A point_teleport in each destination, named teleport_blu/red
Then:
  • Set the Entity to Teleport for each of your point_teleports as !activator
  • Give each filter entity the output OnPass > teleport_blu/red > Teleport
  • Give the trigger_multiple two outputs like this: OnStartTouch > filter_blu/red > TestActivator, one for each filter.
That's five entities.

If you made two trigger_teleport brushes, you would still need two filter entities and two destination point entities (info_target). So that would make six entities.

The methods above assume you are okay with your players being teleported in to the same spot. If you want them to be teleported in to different positions at the destination, you will need to use trigger_teleport in conjunction with a landmark. You can actually set the landmark to the origin of the trigger_teleport by specifying !self as the landmark. For more precise placement, you can use a bunch of point_teleports and a logic_case but that defeats the object of keeping it simple.
 

Snowbat

L4: Comfortable Member
Apr 23, 2013
165
74
How about just placing 2 trigger_teleport's on tom of each other, one with filter set for BLU and the other set to RED, with each their respective destination?
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,258
999
How about just placing 2 trigger_teleport's on tom of each other, one with filter set for BLU and the other set to RED, with each their respective destination?
If you made two trigger_teleport brushes, you would still need two filter entities and two destination point entities (info_target). So that would make six entities.
 

Phil25

L1: Registered
Jun 13, 2015
49
10
How about just placing 2 trigger_teleport's on tom of each other, one with filter set for BLU and the other set to RED, with each their respective destination?
That's what I went with. My concern was having multiple entities around the map stacking on top of each other. I know it doesn't matter that much, but still. :p

And thanks worMatty but actually having two of the trigger_teleporter's seems like a simpler idea at this point for me.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,258
999
No probs. The landmark function of trigger_teleport is very useful.