This article's documentation is for anything that uses the Source engine. Click here for more information.

Info teleport destination: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated the image)
No edit summary
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{tabs|info_teleport_destination|goldsrc=1|source=1|main=source}}
[[File: info_player_start.png | right | 300px]]
[[File: info_player_start.png | right | 300px]]
{{base point|info_teleport_destination}} {{base point legacy|info_target}}  
{{CD|CPointEntity|base=CBaseEntity|nolink=1|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/triggers.cpp#L2445 triggers.cpp]}}
__TOC__
{{this is a|point entity|name=info_teleport_destination}} It does nothing itself, but can be used to specify the destination and angles for a [[trigger_teleport]] entity. {{Note| Other point entities can be used too, but this can be more useful in [[hammer]] due to the model that can be used for measuring purposes.}}
{{clr}}
 
==Entity description==
Note that however, this may be more useful in teleporting players due to the model that can be used for measuring purposes.
 
It does nothing itself, but can be used to specify the destination for a [[trigger_teleport]] entity. An [[info_target]] can be used instead. <code>[[point_teleport]]</code> may be a better option.
 
This entity is used in [[The Ship]] to define origin of the brig/release room that the player can teleport to. {{clr}}


== Keyvalues ==
== Keyvalues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Angles}}
{{KV Angles}}


== Inputs ==
== See also ==
{{I Targetname}}
* {{ent|trigger_teleport}}
{{I Parentname}}
* {{ent|point_teleport}}
 
== Outputs ==
{{O Targetname}}

Latest revision as of 14:57, 14 September 2024

Info player start.png
C++ Class hierarchy
CPointEntity
CBaseEntity
C++ triggers.cpp

info_teleport_destination is a point entity available in all Source Source games. It does nothing itself, but can be used to specify the destination and angles for a trigger_teleport entity.

Note.pngNote: Other point entities can be used too, but this can be more useful in hammer due to the model that can be used for measuring purposes.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

See also