-
Notifications
You must be signed in to change notification settings - Fork 4
TE_SPARKS
GeckoN edited this page Jan 31, 2017
·
4 revisions
A flashing sprite combined with a small splash of tracers. Sound effect not included.
Type | Name | Description |
---|---|---|
Vector | pos | Center point for the effect |
void CUtility::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();
}