forked from baso88/SC_AngelScript
-
Notifications
You must be signed in to change notification settings - Fork 0
TE_EXPLOSION2
wootguy edited this page Nov 29, 2025
·
4 revisions
Quake-style explosion. A shorter version of TE_TAREXPLOSION that also creates a white dynamic light.
| Type | Name | Description |
|---|---|---|
| Vector | pos | Center point for the effect |
void te_explosion(Vector pos, int msgType=MSG_BROADCAST, edict_t* dest=NULL)
{
MESSAGE_BEGIN(msgType, SVC_TEMPENTITY, dest);
WRITE_BYTE(TE_EXPLOSION);
WRITE_COORD(pos.x);
WRITE_COORD(pos.y);
WRITE_COORD(pos.z);
MESSAGE_END();
}