This article's documentation is for anything that uses the Source engine. Click here for more information.

env_dustpuff

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
9 default env_dustpuff spawning puffs of dust.

env_dustpuff is a point entity available in all Source Source games. It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.

In code, it is represented by theCEnvDustPuffclass, defined in thefunc_dust.cppfile.

Keyvalues

Scale (scale) <float>
Size of the dust puff.
Speed (speed) <float>
Speed at which the dust particles should move.
Dust color (color) <color255>
Color of the dust particles.
Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

SpawnDust
Spawn a dust puff.