Nuclide
Software Development Kit for id Technology
trigger_camera Class Reference

About this class

Shared-Entity: Camera System Trigger.

QUAKED trigger_camera (.5 .5 .5) (-8 -8 -8) (8 8 8)

OVERVIEW

Forces a camera change when triggered.

KEYS

  • "targetname" : Name
  • "target" : Camera aims at this target.
  • "moveto" : First path_corner entity, if present.
  • "wait" : The total time the camera effect is active.

NOTES

The client who triggers it will get its camera perspective changed to this trigger_camera. It is capable of following a track in case "moveto" is set. The movement finishes independently of the "wait" key. In case you are follow a path, the triggers of the respective path_corners will be respected.

TRIVIA

This entity was introduced in Half-Life (1998).

Inheritance diagram for trigger_camera:
NSPointTrigger point_viewcontrol

Public Member Functions

void trigger_camera (void)
 
virtual void ReceiveEntity (float, float)
 Client: Handles network updates from the server for the associated entity. More...
 

Constructor & Destructor Documentation

◆ trigger_camera()

void trigger_camera::trigger_camera ( void  )

Member Function Documentation

◆ ReceiveEntity()

void trigger_camera::ReceiveEntity ( float  flNew,
float  flChanged 
)
virtual

Client: Handles network updates from the server for the associated entity.

Reimplemented from NSEntity.


The documentation for this class was generated from the following file: