Point teleport

From Valve Developer Community
Revision as of 16:10, 22 February 2010 by Lancelot (talk | contribs) (→‎Flags)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

An entity that 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.

Template:In code

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.
  • target
<target_destination> Name of the entity that will be teleported.

Flags

  • 1 : Teleport Home
  • 2 : Into Duck (episodic)

Inputs

  • Teleport
Teleport the target entity.

Outputs