Point teleport: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edit of last, changed back to last version by cur)
m (Robot: fixing template case.)
Line 9: Line 9:
==Keyvalues==
==Keyvalues==
*{{kv Targetname}}
*{{kv Targetname}}
*{{kv Angles}}
*{{KV Angles}}
*'''target'''
*'''target'''
:<target_destination> Name of the entity that will be teleported.
:<target_destination> Name of the entity that will be teleported.

Revision as of 19:40, 19 January 2009

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

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

Inputs

  • Teleport
Teleport the target entity.

Outputs