Point teleport: Difference between revisions
Jump to navigation
Jump to search
Note:The entity does not update its origin or angles, even after it has moved. Use
m (Minor edit) |
(Updated the page with a note and a tip, added BaseEntity) |
||
Line 2: | Line 2: | ||
If 'Teleport Home' spawn flag is set, teleports the target entity to its spawn position instead. If object is physically simulated, simulation is turned off when teleported. To teleport the player, use a '''target''' keyvalue of ''[[!player]]''. To teleport an entity (including a player) that begins an I/O sequence, use a '''target''' keyvalue of ''[[!activator]]''. | If 'Teleport Home' spawn flag is set, teleports the target entity to its spawn position instead. If object is physically simulated, simulation is turned off when teleported. To teleport the player, use a '''target''' keyvalue of ''[[!player]]''. To teleport an entity (including a player) that begins an I/O sequence, use a '''target''' keyvalue of ''[[!activator]]''. | ||
{{note|The entity does not update its origin or angles, even after it has moved. Use <code>TeleportToCurrentPos</code> instead.}} | |||
If "Into Duck" is selected when the player appears they will be in the crouched position. | If "Into Duck" is selected when the player appears they will be in the crouched position. | ||
Line 9: | Line 10: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Entity To Teleport|target_destination|Name of the entity that will be teleported.}} | {{KV|Entity To Teleport|target_destination|Name of the entity that will be teleported.}} | ||
{{ | :{{tip|This can be changed if necessary by using [[AddOutput]].}} | ||
{{KV | {{KV BaseEntity}} | ||
== Flags == | == Flags == | ||
Line 20: | Line 21: | ||
{{IO|TeleportEntity|Teleport the output parameter box entity. |since=CSGO}} | {{IO|TeleportEntity|Teleport the output parameter box entity. |since=CSGO}} | ||
{{IO|TeleportToCurrentPos|Teleport to the current position.|since=CSGO}} | {{IO|TeleportToCurrentPos|Teleport to the current position.|since=CSGO}} | ||
{{I | {{I BaseEntity}} | ||
== Outputs == | == Outputs == | ||
{{O | {{O BaseEntity|l4d=1}} |
Revision as of 11:35, 8 October 2018
Template:Base point It teleports a target entity to this position and angles.
If 'Teleport Home' spawn flag is set, teleports the target entity to its spawn position instead. If object is physically simulated, simulation is turned off when teleported. To teleport the player, use a target keyvalue of !player. To teleport an entity (including a player) that begins an I/O sequence, use a target keyvalue of !activator.

TeleportToCurrentPos
instead.If "Into Duck" is selected when the player appears they will be in the crouched position.
Keyvalues
- Entity To Teleport ([todo internal name (i)]) <targetname>
- Name of the entity that will be teleported.
Tip:This can be changed if necessary by using AddOutput.
Flags
- 1 : Teleport Home
- 2 : Into Duck (episodic)
Inputs
- Teleport
- Teleport the target entity.
- TeleportEntity (in all games since
)
- Teleport the output parameter box entity.
- TeleportToCurrentPos (in all games since
)
- Teleport to the current position.