Point teleport: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (doxygen - thanks jeff)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=point_teleport}}
{{wrongtitle|title=point_teleport}}
{{base_point}}


==Entity Description==
==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]]''.
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]]''.


==Availability==
{{in game|point}} {{game-base}}
{{in code|class=class_c_point_teleport.html CPointTeleport|file=pointteleport_8cpp-source.html pointteleport.cpp}}
{{in code|class=class_c_point_teleport.html CPointTeleport|file=pointteleport_8cpp-source.html pointteleport.cpp}}


Line 24: Line 23:
==Outputs==
==Outputs==
*{{o Targetname}}
*{{o Targetname}}
[[Category:Entities]]

Revision as of 15:53, 12 April 2008

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

<target_destination> Name of the entity that will be teleported.

Flags

  • 1 : Teleport Home

Inputs

  • Teleport
Teleport the target entity.

Outputs