S&box Wiki

Revision Difference

trigger_teleport#547361

<title>trigger_teleport</title> # trigger_teleport A simple trigger volume that teleports entities that touch it. ⤶ ### Keyvalues⤶ ⤶ In code, it is defined in the `TriggerTeleport.cs` file under `addons\base\code\Entity\Hammer\Triggers`.⤶ ⤶ ## Keyvalues⤶ **Name (`targetname`)** >* The name that other entities refer to this entity by. **Tags (`tags`)** >* A list of general purpose tags for this entity, for interactions with other entities such as triggers. **Remote Destination (`target`)** >* The entity specifying a location to which entities should be teleported to. **Teleport Relativity (`teleport_relative`)** >* If set, teleports the entity with an offset depending on where the entity was in the trigger teleport. Think world portals. Place the target entity accordingly. **Keep Velocity (`keep_velocity`)** >* If set, the teleported entity will not have it's velocity reset to 0. **Activation Tags (`activationtags`)** >* Entities with these tags can activate this trigger. **Enabled (`enabled`)** >* Whether this entity is enabled or not.