TE IMPLOSION
Jump to navigation
Jump to search
Group of tracers moving towards a point.
void te_implosion(Vector pos, uint8 radius=255, uint8 count=32, uint8 life=5, NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null) { NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest); m.WriteByte(TE_IMPLOSION); m.WriteCoord(pos.x); m.WriteCoord(pos.y); m.WriteCoord(pos.z); m.WriteByte(radius); m.WriteByte(count); m.WriteByte(life); m.End(); }
- Vector pos Center point for the effect
- uint8 radius Starting distance for the tracers
- uint8 count Number of tracers to spawn
- uint8 life Duration of the effect (seconds * 0.1). Longer duration = slower and shorter tracers