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
by spamming garbage data to the console, do not use this entity for that game! [todo tested in ?]
Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: {{language subpage → {{langsp) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
| Line 1: | Line 1: | ||
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env screeneffect}}{{CD|CEnvScreenEffect|file1=env_screenoverlay.cpp}} | <!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang|Env screeneffect}}{{CD|CEnvScreenEffect|file1=env_screenoverlay.cpp}} | ||
{{this is a|name=env_screeneffect | {{this is a|point entity|name=env_screeneffect}} It allows screenspace effects to be played on the player's view. | ||
{{bug|Does not function in {{tf2}}{{portal2}}.}} | {{bug|Does not function in {{tf2}}{{portal2}}.}} | ||
Revision as of 16:21, 17 May 2024
| CEnvScreenEffect |
env_screeneffect is a point entity available in all
Source games. It allows screenspace effects to be played on the player's view.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Effect Type (type) <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>
- Fade out the effect over the duration in seconds as the passed parameter.