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
No edit summary
No edit summary
 
(33 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{wrongtitle|title=info_teleport_destination}}
{{tabs|info_teleport_destination|goldsrc=1|source=1|main=source}}
[[File: info_player_start.png | right | 300px]]
{{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]}}
{{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.}}


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


==Entity Description==
== See also ==
[[Image:Info_player_start.png|25px|left]]An entity that 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.
* {{ent|trigger_teleport}}
 
* {{ent|point_teleport}}
This entity is used in [[The Ship]] to define origins in the brig/release room which the player can teleport.
 
 
==Keyvalues==
 
*{{kv targetname}}
 
*{{kv parentname}}
 
*{{kv angles}}
 
 
==Inputs==
 
*{{i targetname}}
 
*{{i parentname}}
 
 
==Outputs==
*{{o targetname}}
 
[[Category:Entities]][[Category:Ship Entities]]

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