env_player_viewfinder

From Source Entities
Jump to navigation Jump to search

Code classes:

env_player_viewfinder is a point entity present in P2.pngPortal 2. It shows a screen overlay that mimics the view of an npc_security_camera, as seen in Coop maps. Valve didn't actually use this entity though, and apparently did the real effect through a different method. To do: Describe their method if possible.

Does not work in Singleplayer.

Inputs[edit | edit source]

ShowViewFinder
Shows the screen overlay.
HideViewFinder
Hides the screen overlay.