Info target: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m ({{lang}} -> {{Language subpage}})
(-moved flags higher, fl template)
Line 9: Line 9:
}}
}}


{{entity|info_target|type=e0}} It can be used by many different entities, and is a great generic target for any entity that needs to point, shoot, look at, or walk to a specific target.  
{{{entity}}} It can be used by many different entities, and is a great generic target for any entity that needs to point, shoot, look at, or walk to a specific target.  


It is primarily used for a target for other entities, similar to an [[info_null]]. An info_null is preferable to use as a point at target for lights, because an info_null is removed on map spawn, whereas an info_target remains. This entity can be placed with the [[Commentary Editor]] for changing the players view angles & position during a commentary.
It is primarily used for a target for other entities, similar to an [[info_null]]. An info_null is preferable to use as a point at target for lights, because an info_null is removed on map spawn, whereas an info_target remains. This entity can be placed with the [[Commentary Editor]] for changing the players view angles & position during a commentary.
{{preservedEnt}}
{{preservedEnt}}
== Flags ==
{{fl|1|Transmit to client (respect PVS)}}
{{fl|2|Always transmit to client (ignore PVS) {{L4D2 add}} {{GMOD also}}}}


== Keyvalues ==
== Keyvalues ==
{{KV BaseEntity}}
{{KV BaseEntity}}
== Flags ==
* 1 : Transmit to client (respect PVS)
* 2 : Always transmit to client (ignore PVS) {{L4D2 add}} {{GMOD also}}


== Inputs ==
== Inputs ==

Revision as of 03:23, 21 July 2023

English (en)Slovenčina (sk)中文 (zh)Translate (Translate)
info_target
Info target.png
TypePoint entity
EngineSource Source
AvailabilityIn all games
 

{{{entity}}} It can be used by many different entities, and is a great generic target for any entity that needs to point, shoot, look at, or walk to a specific target.

It is primarily used for a target for other entities, similar to an info_null. An info_null is preferable to use as a point at target for lights, because an info_null is removed on map spawn, whereas an info_target remains. This entity can be placed with the Commentary Editor for changing the players view angles & position during a commentary.

Icon-Important.pngImportant:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadPortal 2Counter-Strike: Global Offensive.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.

Flags

Transmit to client (respect PVS) : [1]
Always transmit to client (ignore PVS) Template:L4D2 add Template:GMOD also : [2]

Keyvalues

Inputs

Outputs