Trigger teleport: Difference between revisions
Jump to navigation
Jump to search
Note:Any entity can be used as the teleport destination, including players.
Tip:You can use !self to use the origin of this entity as the landmark.
Dimes2dope (talk | contribs) m (centered image) |
m (Moved the See Also to the bottom of the page, made a minor change to the Remote Destination description, and added a note about the keyvalue, along with other minor changes to the page.) |
||
Line 1: | Line 1: | ||
{{base brush|trigger_teleport}} | {{base brush|trigger_teleport}} | ||
Entities are teleported to the ''Remote Destination'', and have their angles set to that of the ''Remote Destination'''s. | == Entity description == | ||
It is a [[trigger]] that teleports [[entity|entities]] that touch its volume. Entities are teleported to the ''Remote Destination'', and have their angles set to that of the ''Remote Destination'''s angles. If a ''Local Destination Landmark'' is specified, teleported entities are offset from the target by their initial offset from the landmark, and their angles are left alone. | |||
If a ''Local Destination Landmark'' is specified, teleported entities are offset from the target by their initial offset from the landmark, and their angles are left alone. | |||
{{code class|CTriggerTeleport|triggers.cpp}} | {{code class|CTriggerTeleport|triggers.cpp}} | ||
== | ==Keyvalues== | ||
{{KV|Remote Destination|target_destination|The entity specifying the point to which entities should be teleported. Usually either a [[info_teleport_destination]] or [[info_target]].}} | |||
{{note|''Any'' entity can be used as the teleport destination, including players.}} | |||
{{KV|Local Destination Landmark|target_destination|If specified, then teleported entities are offset from the target by their initial offset from the landmark.}} | {{KV|Local Destination Landmark|target_destination|If specified, then teleported entities are offset from the target by their initial offset from the landmark.}} | ||
{{tip|You can use [[!self]] to use the origin of this entity as the landmark.}} | {{tip|You can use [[!self]] to use the origin of this entity as the landmark.}} | ||
Line 31: | Line 28: | ||
{{sensor brush}} | {{sensor brush}} | ||
==See also== | |||
* [[Teleporters]] | |||
* [[info_teleport_destination]] |
Revision as of 21:12, 29 July 2017
Entity description
It is a trigger that teleports entities that touch its volume. Entities are teleported to the Remote Destination, and have their angles set to that of the Remote Destination's angles. If a Local Destination Landmark is specified, teleported entities are offset from the target by their initial offset from the landmark, and their angles are left alone.
Keyvalues
- Remote Destination ([todo internal name (i)]) <targetname>
- The entity specifying the point to which entities should be teleported. Usually either a info_teleport_destination or info_target.

- Local Destination Landmark ([todo internal name (i)]) <targetname>
- If specified, then teleported entities are offset from the target by their initial offset from the landmark.

|
Flags
- 32 : Preserve angles even when a local landmark is not specified
|
Inputs
|
Outputs
|