TE_TRACER - baso88/SC_AngelScript GitHub Wiki
Standard bullet tracer effect.
Color of this effect is determined by tracerred, tracergreen and tracerblue cvars,
opacity by traceralpha, speed by tracerspeed, distance from the startpoint where the tracer will appear by traceroffset and finally length by tracerlength cvar.
See also TE_USERTRACER effect.

Parameters
| Type | Name | Description |
|---|---|---|
| Vector | start | Starting point for the tracer |
| Vector | end | End point for the tracer |
API Function
No API function exists as of SC 5.02
NetworkMessage Function
void te_tracer(Vector start, Vector end,
NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
m.WriteByte(TE_TRACER);
m.WriteCoord(start.x);
m.WriteCoord(start.y);
m.WriteCoord(start.z);
m.WriteCoord(end.x);
m.WriteCoord(end.y);
m.WriteCoord(end.z);
m.End();
}