TE SPARKS

From Sven Co-op
Revision as of 13:49, 31 May 2025 by Outerbeast (talk | contribs) (Created page with "A flashing sprite combined with a small splash of tracers. Sound effect not included. frame A CUtility method exists: <code>void Sparks(const Vector...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A flashing sprite combined with a small splash of tracers. Sound effect not included.

TE SPARKS.gif

A CUtility method exists: void Sparks(const Vector& in vecPosition)

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