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

Bug:Does not function in 
. [todo tested in ?]
Bug:Causes a memory leak in
. Do not use this entity for that game! [todo tested in ?]
(→Inputs: .) |
m (memory leak) |
||
Line 2: | Line 2: | ||
{{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. | ||
{{ | {{bug|Does not function in {{tf2}}{{portal2}}.}} | ||
{{bug|Causes a memory leak in {{l4d2}}. Do not use this entity for that game!}} | |||
{ | |||
{{code class|CEnvScreenEffect|env_screenoverlay.cpp}} | {{code class|CEnvScreenEffect|env_screenoverlay.cpp}} | ||
Revision as of 07:17, 20 July 2021


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. Todo: What does the parameter do?