TE_TAREXPLOSION - baso88/SC_AngelScript GitHub Wiki

Burst of yellow-ish particles and an explosion sound.

Parameters

Type Name Description
Vector pos Center point for the effect

API Function

No API function exists as of SC 5.02

NetworkMessage Function

void te_tarexplosion(Vector pos, 
	NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
	NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
	m.WriteByte(TE_TAREXPLOSION);
	m.WriteCoord(pos.x);
	m.WriteCoord(pos.y);
	m.WriteCoord(pos.z);
	m.End();
}