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
 
(51 intermediate revisions by 26 users not shown)
Line 1: Line 1:
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.}}


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.
== Keyvalues ==
{{KV Targetname}}
{{KV Angles}}


KEYS
== See also ==
 
* {{ent|trigger_teleport}}
Name targetname <target_source> The name that other entities refer to this entity by.
* {{ent|point_teleport}}
 
Parent parentname <target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
 
Pitch Yaw Roll (Y Z X) angles <angle> 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.
 
 
INPUTS
 
Kill Removes this entity from the world.
 
KillHierarchy Removes this entity and all its children from the world.
 
AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
 
FireUser1 Causes this entity's OnUser1 output to be fired.
 
FireUser2 Causes this entity's OnUser2 output to be fired.
 
FireUser3 Causes this entity's OnUser3 output to be fired.
 
FireUser4 Causes this entity's OnUser4 output to be fired.
 
SetParent <string> Changes the entity's parent in the movement hierarchy.
 
SetParentAttachment <string> Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
 
ClearParent Removes this entity from the the movement hierarchy, leaving it free to move independently.
 
 
OUTPUTS
 
OnUser1 Fired in response to FireUser1 input.
 
OnUser2 Fired in response to FireUser2 input.
 
OnUser3 Fired in response to FireUser3 input.
 
OnUser4 Fired in response to FireUser4 input.

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