Env screeneffect: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: Automated text replacement (-\{\|\r +{| class=standard-table))
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=env_screeneffect}}
{{base point|env_screeneffect}}
{{base_point_ep1}}[[Category: GUI Entities]]


==Entity Description==
== Entity description ==
Allows screenspace effects to be played on the player's view.
Allows screenspace effects to be played on the player's view.
==Keyvalues==
 
* {{KV Targetname}}
== Keyvalues ==
* '''type'''
{{KV|Effect Type|choices|Which effect to use.}}
: <choices> Effect Type
:* 0 : Advisor Stun
:{| class=standard-table
:* 1 : Intro Blur
! Literal Value || Description
:* 2 : Groggy Vision
|-
{{KV Targetname}}
| 0 || Advisor Stun
 
|-
== Inputs ==
| 1 || Intro Blur
{{IO|StartEffect|Start the effect with the duration in seconds as the passed parameter.|param=float}}
|-
{{IO|StopEffect|Stop the effect.|param=float}}
| 2 || Groggy Vision
{{I Targetname}}
|}
 
==Inputs==
== Outputs ==
* {{I Targetname}}
{{O Targetname}}
* '''StartEffect <float>'''
 
: Start the effect with the duration in seconds as the passed parameter.
[[Category: GUI Entities]]
* '''StopEffect'''
: Stop the effect.
==Outputs==
* {{O Targetname}}

Revision as of 01:52, 17 June 2011

Template:Base point

Entity description

Allows screenspace effects to be played on the player's view.

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