Env dustpuff: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (revert)
Line 1: Line 1:
acbodelr
{{wrongtitle|title=env_dustpuff}}
{{wrongtitle|title=env_dustpuff}}


==Entity Description==
== Entity description ==
An entity that can emit dust puffs.
An entity that can emit dust puffs.


==Availability==
== Availability ==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
{{in code|class=class_c_env_dust_puff.html CEnvDustPuff|file=func__dust_8cpp-source.html func_dust.cpp}}
{{in code|class=class_c_env_dust_puff.html CEnvDustPuff|file=func__dust_8cpp-source.html func_dust.cpp}}


==Keyvalues==
== Keyvalues ==
*{{kv Targetname}}
*{{kv Targetname}}
*{{kv Parentname}}
*{{kv Parentname}}
Line 21: Line 20:


<!--This entity doesn't have any flags.-->
<!--This entity doesn't have any flags.-->
==Inputs==
 
== Inputs ==
*{{i Targetname}}
*{{i Targetname}}
*{{i Parentname}}
*{{i Parentname}}


==Outputs==
== Outputs ==
*{{o Targetname}}
*{{o Targetname}}


[[Category:Entities]]
[[Category:Entities]]

Revision as of 10:54, 29 September 2007

Template:Wrongtitle

Entity description

An entity that can emit dust puffs.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<float> Size of the dust puff.
  • speed
<float> Speed at which the dust particles should move.
  • color
<color255> Spawn a dust puff.


Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs