point_viewcontrol_multiplayer
Jump to navigation
Jump to search
Code classes:
CTriggerCameraMultiplayer
CMoveableCamera
CBaseEntity
(all ents)
point_viewcontrol_multiplayer
is a point entity present in some Source games. It overrides the views of players. Players are unable to do anything while their view is controlled.
Flags[edit | edit source]
- 1: Disable when move finished (available in all games since
) - Automatically disables the view when done moving to Target Entity.
- 2:
Set FOV(available in all games since) - Does nothing. The FOV is always set.
Keyvalues[edit | edit source]
- Field of view
(fov)
<float>
- How wide the camera's field of view is.
- Seconds to reach FOV target
(fov_rate)
<float>
- How long it takes to shift from the player's FOV to the camera's.
- Target Entity
(target_entity)
<target_destination>
(available in all games since)
- When sent the StartMovement input, the view will shift to this entity's origin and angles.
- Seconds to reach target entity
(interp_time)
<float>
(available in all games since)
- How long it takes the entity to shift to Target Entity's view.
- Target Team
(target_team)
<choices>
(available in all games since)
- Which team should have their view controlled.
Literal Value | ![]() |
![]() |
---|---|---|
-1 | Don't care | Don't care |
0 | Spectators | |
2 | P-body | Terrorists |
3 | Atlas | CTs |
- Target Attachment (Not in FGD)
(target_attachment)
<string>
(only available in)
- An attachment point on Target Entity to show the view from. Tip: View attachment points ingame with
ent_attachments
.
Inputs[edit | edit source]
- Enable
- Starts controlling all the players' views.
- Disable
- Stops controlling all the players' views.
- AddPlayer (Not in FGD)
- Starts controlling only the
!activator
's view. - RemovePlayer (Not in FGD)
- Stops controlling only the activator's view.
- StartMovement (available in all games since
)
- Moves the camera view to Target Entity.
- OuttroPerPlayerStart (Not in FGD) (only available in
)
- To do: Seems identical to StartMovement.