forked from baso88/SC_AngelScript
-
Notifications
You must be signed in to change notification settings - Fork 0
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.
| Type | Name | Description |
|---|---|---|
| Vector | start | Starting point for the line |
| Vector | end | End point for the line |
void te_showline(Vector start, Vector end, RGBA c=PURPLE,
int msgType=MSG_BROADCAST, edict_t* dest=NULL)
{
MESSAGE_BEGIN(msgType, SVC_TEMPENTITY, dest);
WRITE_BYTE(TE_SHOWLINE);
WRITE_COORD(start.x);
WRITE_COORD(start.y);
WRITE_COORD(start.z);
WRITE_COORD(end.x);
WRITE_COORD(end.y);
WRITE_COORD(end.z);
MESSAGE_END();
}