Skip to content

TE_KILLBEAM

GeckoN edited this page Jan 26, 2017 · 3 revisions

Kills all beams attached to the target entity.

Parameters

Type Name Description
CBaseEntity@ target Entity to remove beams from

API Function

No API function exists as of SC 5.02

NetworkMessage Function

void te_killbeam(CBaseEntity@ target, 
    NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
    NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
    m.WriteByte(TE_KILLBEAM);
    m.WriteShort(target.entindex());
    m.End();
}

Clone this wiki locally