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

Env splash: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}[[File:Env splash.png|300px|thumb|right]]
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}[[File:Env splash.png|300px|thumb|right]]
{{CD|CEnvSplash|file1=effects.cpp}}
{{CD|CEnvSplash|file1=effects.cpp}}
{{this is a|e0|name=env_splash}} It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.
{{this is a|point entity|name=env_splash}} It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.
__NOTOC__
__NOTOC__
==Keyvalues==
==Keyvalues==

Revision as of 16:17, 17 May 2024

English (en)Translate (Translate)
Env splash.png
C++ Class hierarchy
CEnvSplash
CPointEntity
CBaseEntity
C++ effects.cpp

env_splash is a point entity available in all Source Source games. It creates a generic splash effect like the one seen when bullets fire into water, or when the player enters water.

Keyvalues

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

Scale of the splash (scale) <float>
Scale of the splash.

Flags

Automatically find water surface (place entity above water) - Make sure %compilewater is set! : [1]
Diminish with depth (diminished completely in 10 feet of water) : [2]

Inputs

Splash
Create a splash effect.

See Also