env_screeneffect
...
class hierarchy |
---|
CEnvScreenEffect defined in env_screenoverlay.cpp
|
env_screeneffect
is a point entity available in all Source games. It allows screenspace effects to be played on the player's view.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Effect Type
(type)
<choices> - Which effect to use.
- 0: Advisor Stun
- 1: Intro Blur
- 2: Groggy Vision
Inputs
StartEffect
<float>- Start the effect with the duration in seconds as the passed parameter.
StopEffect
<float>- Fade out the effect over the duration in seconds as the passed parameter.