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, search
English (en)中文 (zh)
... Icon-Important.png
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.

Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

SpawnDust
Spawn a dust puff.