Env splash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fixed title)
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=env_splash}}
{{base point|env_splash}} It creates splash effects when triggered, normally at its origin.
{{base_point}}
{{clr}}
== Entity description ==
An entity that creates splash effects when triggered, normally at its origin.


== Keyvalues ==
== Keyvalues ==
* {{KV Targetname}}
{{KV|Scale of the splash|float}}
* {{KV Angles}}
{{KV Targetname}}
* '''scale'''
{{KV Angles}}
: <float> Scale of the splash


== Flags ==
== Flags ==
* 1 : Automatically find water surface (place entity above water)
* 1 : Automatically find water surface (place entity above water)
: If this flag is set, the env_splash will trace down below itself to find the water surface on which to apply splashes. If this flag is cleared, the entity will use its own position as the origin.
* 2 : Diminish with depth (diminished completely in 10 feet of water)
* 2 : Diminish with depth (diminished completely in 10 feet of water)


== Inputs ==
== Inputs ==
* {{I Targetname}}
{{IO|Splash|Create a splash effect.}}
* '''Splash'''
{{I Targetname}}
: Create a splash effect.


== Outputs ==
== Outputs ==
* {{O Targetname}}
{{O Targetname}}
 
[[Category:Entities]]

Revision as of 07:01, 24 July 2011

Template:Base point It creates splash effects when triggered, normally at its origin.

Keyvalues

Scale of the splash ([todo internal name (i)]) <float>
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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Flags

  • 1 : Automatically find water surface (place entity above water)
  • 2 : Diminish with depth (diminished completely in 10 feet of water)

Inputs

Splash
Create a splash effect.


Outputs