Env tracer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added a bug)
Line 3: Line 3:
{{ent not in fgd}}
{{ent not in fgd}}
{{base point|env_tracer}}
{{base point|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 :  

Revision as of 07:49, 16 July 2018

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.

Template:Base point

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."
]