Point teleport

From Valve Developer Community
Revision as of 05:37, 28 July 2011 by Barracuda (talk | contribs) (Cleanup)
Jump to navigation Jump to search

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.

If "Into Duck" is selected when the player appears they will be in the crouched position.

Template:In code

Keyvalues

Entity To Teleport ([todo internal name (i)]) <targetname>
Name of the entity that will be teleported.
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.

Flags

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

Inputs

Teleport
Teleport the target entity.


Outputs