Point viewcontrol multiplayer
Jump to navigation
Jump to search
![]() |
---|
CTriggerCameraMultiplayer |
Template:Entity It is an alternate version of point_viewcontrol which is capable of controlling the view of multiple players at once. While it's active, the players will see out of the camera. Enabling the entity will control all players' views by default, but individual players can be added/removed by using the AddPlayer
and RemovePlayer
inputs with said player as the !activator. Starting in Portal 2, it can also be set to only affect players on a specific team.
Keyvalues
- Field of view (fov) <float>
- Player FOV
- Seconds to reach FOV target (fov_rate) <float>
- Amount of time it should take to reach the specified FOV
- Target Entity (target_entity) <targetname>
- Entity to move to. (End of move will match origin and angles).
- Seconds to reach target entity (interp_time) <float>
- Amount of time it should take to reach the target entity's origin and angles.
- Target Team (target_team) <integer> (in all games since
)
- Which team (or all) to take over the camera for.
- 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
Flags
- Disable when move finished : [1]
- Set FOV : [2]
Inputs
- Enable <targetname >
- Enable the point_viewcontrol_multiplayer, and start controlling the players' view.
- Disable
- Disable the point_viewcontrol_multiplayer, and stop controlling the players' view.
- StartMovement
- Start the movement to the target entity.
- AddPlayer
- Makes the !activator view from this entity.
- RemovePlayer
- Removes !activator view from this entity.