Env screeneffect

From Valve Developer Community
Revision as of 07:17, 20 July 2021 by Orinuse (talk | contribs) (memory leak)
Jump to navigation Jump to search
English (en)Translate (Translate)

Template:Base point It allows screenspace effects to be played on the player's view.

Icon-Bug.pngBug:Does not function in Team Fortress 2Portal 2.  [todo tested in ?]
Icon-Bug.pngBug:Causes a memory leak in Left 4 Dead 2. Do not use this entity for that game!  [todo tested in ?]

{

C++ In code, it is represented by theCEnvScreenEffectclass, defined in theenv_screenoverlay.cppfile.

Keyvalues

Effect Type (type) ([todo internal name (i)]) <choices>
Which effect to use.
  • 0: Advisor Stun
  • 1: Intro Blur
  • 2: Groggy Vision


Inputs

StartEffect <floatRedirectInput/float>
Start the effect with the duration in seconds as the passed parameter.
StopEffect <floatRedirectInput/float>
Stop the effect.
Todo: What does the parameter do?


Outputs