Skip to content

TE_LARGEFUNNEL

wootguy edited this page Nov 29, 2025 · 4 revisions

A large funnel of sprites and green dots getting sucked into (or pushed out of) a point.

Parameters

Type Name Description
Vector pos Center point of the effect
const char* sprite Sprite to display (additive)
uint16_t flags If set to 1, the effect plays in reverse

Example Usage

void te_largefunnel(Vector pos, const char* sprite="sprites/glow01.spr", 
    uint16_t flags=0,
    int msgType=MSG_BROADCAST, edict_t* dest=NULL)
{
    MESSAGE_BEGIN(msgType, SVC_TEMPENTITY, dest);
    WRITE_BYTE(TE_LARGEFUNNEL);
    WRITE_COORD(pos.x);
    WRITE_COORD(pos.y);
    WRITE_COORD(pos.z);
    WRITE_SHORT(MODEL_INDEX(sprite));
    WRITE_SHORT(flags);
    MESSAGE_END();
}

Clone this wiki locally