Info target: Difference between revisions
Jump to navigation
Jump to search
Important:This is a preserved entity in 





.
If the game has round restart mechanics this entity may not behave as expected:
(-preserved ent game icons) |
(-removed duplicate info, cleanup, see also) |
||
Line 1: | Line 1: | ||
{{langsp}} | {{langsp}} | ||
{{ | {{CD|CInfoTarget|file1=beam_shared.cpp}} | ||
| | |||
| | |||
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 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|info_target}} | {{preservedEnt|info_target}} | ||
== Keyvalues == | |||
{{KV Targetname}} | |||
== Flags == | == Flags == | ||
{{fl|1|Transmit to client (respect PVS)}} | {{fl|1|Transmit to client (respect PVS)}} | ||
{{fl|2|Always transmit to client (ignore PVS) {{L4D2 | {{fl|2|Always transmit to client (ignore PVS)|since={{L4D2}}}} | ||
== | == See Also == | ||
{{ | * {{ent|info_particle_target}} | ||
* {{ent|info_target_instructor_hint}} |
Revision as of 14:08, 21 June 2024
![]() |
---|
CInfoTarget |
![]() |
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.








If the game has round restart mechanics this entity may not behave as expected:
|
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
- Transmit to client (respect PVS) : [1]
- Always transmit to client (ignore PVS) : [2] (in all games since
)