Env screeneffect: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(This entity does not function in Team Fortress 2)
m (Merged the two notes.)
Line 1: Line 1:
{{base point|env_screeneffect}} It allows screenspace effects to be played on the player's view.
{{base point|env_screeneffect}} It allows screenspace effects to be played on the player's view.


{{note|This entity does not function in Portal 2.}}
{{note|This entity does not function in Portal 2 and Team Fortress 2.}}
{{note|This entity does not function in Team Fortress 2.}}
== Keyvalues ==
== Keyvalues ==
{{KV|Effect Type|choices|Which effect to use.}}
{{KV|Effect Type|choices|Which effect to use.}}

Revision as of 10:54, 3 May 2017

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.

Keyvalues

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

Inputs

StartEffect <floatRedirectInput/float>
Start the effect with the duration in seconds as the passed parameter.
StopEffect <floatRedirectInput/float>
Stop the effect.


Outputs