env_splash
From Valve Developer Community
|
This is a point entity available in all Source games.
Entity description
An entity that creates splash effects when triggered, normally at its origin.
Keyvalues
-
Targetname:
- Name <string>
- The targetname other entities refer to this entity by.
-
Angles:
- Pitch Yaw Roll (Y Z X)
<angle> - This entity's angular orientation in the world.
- scale
- <float> Scale of the splash
Flags
- 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)
Inputs
-
Targetname:
-
Kill - Removes this entity from the world.
-
KillHierarchy - Removes this entity and all its children from the world.
-
AddOutput <string> - Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
- Format:
<key> <value> - Format:
<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite> -
FireUser1toFireUser4 - Fire the
OnUseroutputs; see User Inputs and Outputs.
- Splash
- Create a splash effect.
Outputs
-
Targetname:
-
OnUser1toOnUser4 - Fired in response to the
FireUserinputs; see User Inputs and Outputs. -
OnKilled(New with Left 4 Dead) - Fired when the entity is killed and removed from the game.
