env_tracer
Jump to navigation
Jump to search
| CEnvTracer |
env_tracer is a point entity available in all
Source games.
Keyvalues
- Name (targetname) <string>
-
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Target (target) <targetname>
- The target to fire the tracer at. Must be 256 or more units away from the env_tracer[citation needed].
Bug:The tracer does not follow or update the target. The tracer always fires at its original position, even if the target is killed. (tested in: SDK2013 source code)
- Delay (delay) <float>
-
Default Value: 1
How long to wait before firing the tracer again, in seconds.
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. Defaults to 1 if set to 0." ]