Env screeneffect: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(This entity does not function in Team Fortress 2)
Line 2: Line 2:


{{note|This entity does not function in Portal 2.}}
{{note|This entity does not function in Portal 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 00:59, 1 March 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.
Note.pngNote:This entity does not function in 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