Nuclide
Software Development Kit for id Technology (BETA)
ncSecurityCamera Class Reference

About this class

QUAKED ncSecurityCamera (1 0 0) (-8 -8 -8) (8 8 8)

OVERVIEW

A security camera entity. It can have a model, sweep around and be damaged. It can also alert enemies in the area.

KEYS

  • "targetname" : Name used to identify entities.
  • "target" : Target to look at.
  • "health" : Health of the camera. If above 0, can be shot and destroyed.
  • "scanDist" : Distance at which the camera is able to see.
  • "scanFov" : Field of view at which the camera is able to see.
  • "sightResume" : Time to stop scanning for a player (but before activation trigger)
  • "sightTime" : How long it takes for this camera to notice a player.
  • "sweepAngle" : Angles to sweep over, in euler units.
  • "sweepSpeed" : Speed at which to sweep, in euler units per second.
  • "sweepWait" : Delay at which we switch directions, after having reached the end of a sweep.
  • "wait" : Alert hold/resume time.

OUTPUTS

  • "OnFoundPlayer" : Called when the player has been spotted.
Inheritance diagram for ncSecurityCamera:
ncActor

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