Env player viewfinder: Difference between revisions
Jump to navigation
Jump to search
(→Keyvalues: testing for altered kv targetname) |
No edit summary |
||
(7 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
}} | |||
[[File:Env_player_viewfinder.jpg|thumb|right|300px|A screenshot of the viewfinder in-game]] | [[File:Env_player_viewfinder.jpg|thumb|right|300px|A screenshot of the viewfinder in-game]] | ||
{{stub}} | {{stub}} | ||
{{ | {{this is a|logical entity|name=env_player_viewfinder|game=Portal 2}} This Entity turns a viewfinder overlay on and off in co-op. | ||
This Entity turns a viewfinder overlay on and off in co-op. | |||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname | {{KV Targetname}} | ||
== Inputs == | == Inputs == | ||
{{ | {{I|ShowViewFinder|Shows the view finder screen overlay.}} | ||
{{ | {{I|HideViewFinder|Hides the view finder screen overlay.}} | ||
Latest revision as of 01:26, 6 June 2025
env_player_viewfinder
is a logical entity available in Portal 2. This Entity turns a viewfinder overlay on and off in co-op.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- ShowViewFinder
- Shows the view finder screen overlay.
- HideViewFinder
- Hides the view finder screen overlay.