This article's documentation is for anything that uses the Source engine. Click here for more information.

Env tracer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Another undocumented entity)
 
m (Replacing {{base point}} with {{this is a}}. This operation was performed by a bot.)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:env_tracer}}
{{stub}}
{{stub}}
{{ent not in fgd}}
{{ent not in fgd}}
{{base point|env_tracer}}
{{this is a|point entity|name=env_tracer}}
{{bug|The tracer does not follow or update the target. The tracer always fires at its original position, even if the target is killed.}}
===FGD Code===
===FGD Code===
<pre>@PointClass base(Targetname, Parentname)size(-8 -8 -8, 8 8 8) = env_tracer :  
<pre>@PointClass base(Targetname, Parentname) size(-8 -8 -8, 8 8 8) = env_tracer :  
"An entity that fires a thin tracer between itself and a target, with a specified delay."
"An entity that fires a thin tracer between itself and a target, with a specified delay."
[
[

Latest revision as of 23:11, 6 January 2024

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

env_tracer is a point entity available in all Source Source games.

Icon-Bug.pngBug:The tracer does not follow or update the target. The tracer always fires at its original position, even if the target is killed.  [todo tested in ?]

FGD Code

@PointClass base(Targetname, Parentname) size(-8 -8 -8, 8 8 8) = env_tracer : 
	"An entity that fires a thin tracer between itself and a target, with a specified delay."
[
	target(target_destination) : "Target" : : "The target to fire the tracer at. Must be 256 or more units away from the env_tracer."
	delay(float) : "Delay" : 1 : "How long to wait before firing the tracer again, in seconds."
]