Difference between revisions of "Info teleport destination"

From Sven Co-op
Jump to navigation Jump to search
(Import of converted entguide pages from Sven Manor.)
 
m
 
Line 4: Line 4:
  
 
This is the correct entity to use as the teleport destination entity of a trigger_teleport. Although other entities such as info_target can be used as a target as well, only info_teleport_destination allows features such as triggering something on teleport.
 
This is the correct entity to use as the teleport destination entity of a trigger_teleport. Although other entities such as info_target can be used as a target as well, only info_teleport_destination allows features such as triggering something on teleport.
 +
 +
Setting the targetname <code>displacer_global_target</code> allows for [[weapon_displacer]] secondary fire to have players teleport to this info_teleport_destination, if the displacer does not have <code>m_iszTeleportDestination</code> key set.
  
 
== Keyvalues ==
 
== Keyvalues ==
Line 11: Line 13:
 
== Flags ==
 
== Flags ==
  
{{Entity_flag|32|Trigger on Arrival|If ticked, info_teleport_destination will trigger it's target whenever entity is teleported here.}}
+
{{Entity_flag|32|Trigger on Arrival|If ticked, info_teleport_destination will trigger it's target whenever entity is teleported here. The entity is passed as !activator to the info_teleport_destination's target.}}
  
 
== Changes ==
 
== Changes ==

Latest revision as of 22:05, 13 March 2023

info_teleport_destination
Type

point

Status

supported

 


This is the correct entity to use as the teleport destination entity of a trigger_teleport. Although other entities such as info_target can be used as a target as well, only info_teleport_destination allows features such as triggering something on teleport.

Setting the targetname displacer_global_target allows for weapon_displacer secondary fire to have players teleport to this info_teleport_destination, if the displacer does not have m_iszTeleportDestination key set.

1 Keyvalues

  Teleport Cooldown Delay : teleport_cooldown

Delay before this destination can be used again after someone land here.

2 Flags

32 : Trigger on Arrival

If ticked, info_teleport_destination will trigger it's target whenever entity is teleported here. The entity is passed as !activator to the info_teleport_destination's target.

3 Changes

5.0 Steam Release: Added 'Trigger on Arrival' flag.