Trigger camera (GoldSrc): Difference between revisions
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.) |
SirYodaJedi (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{tabsBar|main=Point viewcontrol}} | |||
{{CD|CTriggerCamera|file1=triggers.cpp|goldsrc=1}}{{toc-right}} | |||
{{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. |
Latest revision as of 11:34, 14 March 2025
![]() |
---|
CTriggerCamera |
![]() |
trigger_camera
is a point entity available in all 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]