TE_KILLBEAM - baso88/SC_AngelScript GitHub Wiki
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();
}