Skip to content

TE_SHOWLINE

wootguy edited this page Nov 29, 2025 · 4 revisions

Draws a red dotted line between two points that disappears after 30 seconds. Uses fewer dots than TE_LINE.

Parameters

Type Name Description
Vector start Starting point for the line
Vector end End point for the line

NetworkMessage Function

void te_showline(Vector start, Vector end, Color c=PURPLE,
    NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
    NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
    m.WriteByte(TE_SHOWLINE);
    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();
}

Clone this wiki locally