Skip to content
aubergine10 edited this page Oct 19, 2015 · 1 revision

This property is not fully tested

##Overview

This property is only found on [CCTV cameras](Cctv (object)) and determines when the adjacent walls will be rechecked to determine the available rotation arc of the camera.

##Syntax

local value = obj.WallCheckTimer -- number or nil

obj.WallCheckTimer = value -- untested

Values:

  • <number> - amount of time (in game seconds = prison minutes) until the walls are rechecked
  • nil - object is not a CCTV camera

##Example

##Notes

When the counter reaches 0 the camera will recheck the configuration of adjacent walls via the obj.Walls property. The available rotation arc will then be determined as follows:

  • 360° - camera is not next to any walls (not tested)
  • 180° - camera only has walls on one side
  • 45° - camera is in the corner between two walls
  • 0° - camera between two parallel walls

##See Also

^ Open "Pages" to Search



Guides:

  • [Lua Basics](Lua Basics Guide)
  • [Save-Load Cycle](Save-Load Cycle Guide)

[Globals](Object Globals):

  • [Game](Game (Global))
  • [me](me (Global))
  • [Object](Object (Global))
  • [this](this (Global))

[Events](Object Events):

Psuedo-Types:

  • [Rotation table](Rotation table)
  • [Id table](Id table)
  • [Location table](Location table)
  • [Velocity table](Velocity table)

[Methods](Object Methods):

[Properties](Object Properties):

Clone this wiki locally