forked from baso88/SC_AngelScript
-
Notifications
You must be signed in to change notification settings - Fork 0
TE_PARTICLEBURST
wootguy edited this page Nov 29, 2025
·
4 revisions
Expanding cube of colored particles.
| Type | Name | Description |
|---|---|---|
| Vector | pos | Center point for the effect |
| uint16 | radius | Radius of the particle cube when fully expanded |
| uint8 | color | Particle color (index in [Engine Pallete #1](Temporary-Entities#engine-pallete-1)) |
| uint8 | life | Duration of the effect (seconds * 0.1) |
No API function exists as of SC 5.02
void te_particlebust(Vector pos, uint16 radius=128,
uint8 color=250, uint8 life=5,
NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null)
{
NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest);
m.WriteByte(TE_PARTICLEBURST);
m.WriteCoord(pos.x);
m.WriteCoord(pos.y);
m.WriteCoord(pos.z);
m.WriteShort(radius);
m.WriteByte(color);
m.WriteByte(life);
m.End();
}