CTEDust: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


<pre>
<pre>
tempents.Send("Dust", {m_vecOrigin=origin,
tempents.Send("Dust", {m_vecOrigin=Vector(0, 0, 0),
                       m_flSize=20,
                       m_flSize=20,
                       m_flSpeed=10,
                       m_flSpeed=10,

Revision as of 01:50, 25 November 2022

Overview

A dust puff particle, it can be quite hard to see at when m_flSize is high.

Source location : /game/server/func_dust.cpp

tempents.Send("Dust", {m_vecOrigin=Vector(0, 0, 0),
                       m_flSize=20,
                       m_flSpeed=10,
                       m_vecDirection=Vector(0, 0, 0)}, nil);

Class Structure

SendProps

CTEDust
Name Type Description
m_flSize Float The size of the particle
m_flSpeed Float
m_vecDirection Vector The direction the particle will emit towards