Env screeneffect: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
Line 15: Line 15:
==Inputs==
==Inputs==
{{IO|StartEffect|Start the effect with the duration in seconds as the passed parameter.|param=float}}
{{IO|StartEffect|Start the effect with the duration in seconds as the passed parameter.|param=float}}
{{IO|StopEffect|Stop the effect.|param=float}}
{{IO|StopEffect|Stop the effect. {{todo|What does the parameter do?}}|param=float}}
{{I BaseEntity}}
{{I BaseEntity}}



Revision as of 16:21, 30 September 2018

English (en)Translate (Translate)

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

Note.pngNote:This entity does not function in Portal 2 and Team Fortress 2.
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