This article's documentation is for the "GoldSrc" engine. Click here for more information.

Trigger camera (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(Same c++ class as source)
Line 1: Line 1:
{{tabsBar|main=Point viewcontrol}}
{{this is a|point entity|name=trigger_camera|engine=GoldSrc}}  
{{this is a|point entity|name=trigger_camera|engine=GoldSrc}}  
This entity allows you to place moving cameras in your maps that take control away from the player for a time.
This entity allows you to place moving cameras in your maps that take control away from the player for a time.

Revision as of 11:33, 14 March 2025

edit

trigger_camera is a point entity available in all GoldSrc GoldSrc games. This entity allows you to place moving cameras in your maps that take control away from the player for a time.

Key Values

Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.
Delay before trigger (delay) <integer>
Delay in seconds before firing the targeted entity.
Killtarget (killtarget) <targetname>
Entity to remove when activated.
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Hold time (wait) <integer>
Time to keep the camera going.
Path Corner (moveto) <string>
The first path_corner to aim for.
Initial Speed (speed) <string>
The speed to start at.
Acceleration units/sec^2 (acceleration) <string>
Stop Deceleration units/sec^2 (deceleration) <string>

Flags

Start At Player : [1]
Follow Player : [2]
Freeze Player : [4]