TE BLOODSTREAM
Jump to navigation
Jump to search
Ejects two streams of colored particles that fall to the ground. One stream is more condensed than the other.
CUtility method:
void BloodStream(const Vector& in vecOrigin, const Vector& in vecDirection, int iColor, int iAmount)
void te_bloodstream(Vector pos, Vector dir, uint8 color=70, uint8 speed=64, NetworkMessageDest msgType=MSG_BROADCAST, edict_t@ dest=null) { NetworkMessage m(msgType, NetworkMessages::SVC_TEMPENTITY, dest); m.WriteByte(TE_BLOODSTREAM); m.WriteCoord(pos.x); m.WriteCoord(pos.y); m.WriteCoord(pos.z); m.WriteCoord(dir.x); m.WriteCoord(dir.y); m.WriteCoord(dir.z); m.WriteByte(color); m.WriteByte(speed); m.End(); }
- Vector pos Sarting position for the effect
- Vector dir Direction of the stream
- uint8 color Sprite color (index in Engine Palette #1)
- uint8 speed Particle ejection speed