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

This property requires more investigation

##Overview

The RotateDir property is only found on [CCTV cameras](Cctv (object)) and defines which direction the camera is rotating in, if any.

Does it also define speed of rotation?

##Syntax

##Example

##Notes

The camera will only rotate when it is .Active (and .Powered?).

The rotation arc is limited by adjacent .Walls and is periodically refreshed based on .WallCheckTimer.

When the camera reaches the limit of its rotation arc, its .RotateDir will be updated to make it rotate in the opposite direction.

##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