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

Env dustpuff: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m ({{this is a}})
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{lang|Env dustpuff}}
{{lang|Env dustpuff}}
[[File:Env_dustpuff.gif|thumb|270px|9 default <code>env_dustpuff</code> spawning puffs of dust.]]
[[File:Env_dustpuff.gif|thumb|270px|9 default <code>env_dustpuff</code> spawning puffs of dust.]]
{{this is a|name=env_dustpuff|e0}} It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.
{{this is a|point entity|name=env_dustpuff}} It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.


{{code class|CEnvDustPuff|func_dust.cpp}}
{{code class|CEnvDustPuff|func_dust.cpp}}

Revision as of 16:51, 17 May 2024

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.

C++ 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>[ Edit ]
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.