Env screeneffect: Difference between revisions
Jump to navigation
Jump to search

Note:This entity does not function in Portal 2 and Team Fortress 2.
m (Merged the two notes.) |
(updates) |
||
Line 1: | Line 1: | ||
{{lang|Env screeneffect}} | |||
{{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 and Team Fortress 2.}} | {{note|This entity does not function in Portal 2 and Team Fortress 2.}} | ||
== Inputs == | {{code class|CEnvScreenEffect|env_screenoverlay.cpp}} | ||
==Keyvalues== | |||
{{KV|Effect Type (type)|choices|Which effect to use. | |||
:*0: Advisor Stun | |||
:*1: Intro Blur | |||
:*2: Groggy Vision}} | |||
{{KV BaseEntity|css=1}} | |||
==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.|param=float}} | ||
{{I | {{I BaseEntity}} | ||
== Outputs == | ==Outputs== | ||
{{O | {{O BaseEntity|l4d=1}} | ||
[[Category: GUI Entities]] | [[Category:GUI Entities]] |
Revision as of 14:22, 30 September 2018


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

Keyvalues
- Effect Type (type) ([todo internal name (i)]) <choices>
- Which effect to use.
- 0: Advisor Stun
- 1: Intro Blur
- 2: Groggy Vision
Inputs
- StartEffect <float >
- Start the effect with the duration in seconds as the passed parameter.
- StopEffect <float >
- Stop the effect.