trigger_teleport

A trigger_teleport is a brush trigger that moves what touches it to its target, which is usually an
info_teleport_destination. With a landmark, the teleport can be seamless: players go
from one room to its copy in a different place and don't see the change. See Teleports and jump
pads for how to build one.
Attributes
The entity also has these common keys:
- Naming and triggering: Name and Master
targetNames where it sends the entities that touch it.
If you leave this key empty, it does nothing.
Names a point entity at the trigger, such as an info_landmark or an info_target, for a seamless teleport. The entity arrives at the same place relative to the target as it was relative to the landmark, and it keeps its speed. If the target faces a different way from the landmark, the entity turns by the same amount, so it keeps facing the same way relative to the target.
teleport_start_inactiveWith Yes, the trigger does nothing until you turn it on, so it needs a Name. After that, Off turns it off again.
- No (0)
- Yes (1)
No (0)Flags
1MonstersMonsters are teleported too
2No ClientsPlayers aren't teleported
The destination is one of the entities named in Target, each as likely as the others
Without a landmark, the entity keeps its distance from the trigger's origin, so the trigger needs an origin brush
1024Grenades, itemsWith a landmark, grenades, rockets, dropped items and gibs are teleported too
Notes
- Without a landmark, the trigger only teleports players and monsters. With a landmark, it never teleports dead players or spectators
- A landmark teleport keeps a player on the ground, and the other players don't see them slide from the old place to the new one
- If the landmark doesn't exist, the trigger stops working, and with
developer 1set in the console, the console says so - An
info_teleport_destinationwith Trigger on arrival fires its target at each arrival
See also
info_teleport_destination- a destinationinfo_landmark- a landmark- Teleports and jump pads - how seamless teleports work
- trigger_teleport on TWHL - the Half-Life entity
Changes since 1.38
- Fixed a
trigger_teleportwithout a Target sending players to a random spot. An empty Target matched any entity without a name trigger_teleporthas the new key Landmark and the new flags Random destination, Relative, Keep angles, Keep velocity and Grenades, items


