ControllerType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>Mindraker
Line 11: Line 11:


This enum set is used by the [[Controller]] property.
This enum set is used by the [[Controller]] property.
[[Category:Properties]]

Revision as of 15:02, 3 July 2008

The Enum ControllerType sets the controller for an object. It has 8 numbers:

  • 0: None
  • 1: KeyboardRight
  • 2: KeyboardLeft
  • 3: Joypad1
  • 4: Joypad2
  • 5: Chase (chases nearest player)
  • 6: Flee (runs from all players)
  • 7: Player

This enum set is used by the Controller property.