ControllerType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus
No edit summary
>Mindraker
No edit summary
Line 1: Line 1:
{{CatUp|Class reference}}
{{CatUp|Class reference}}
{{CatUp|Properties}}
__NOTOC__
__NOTOC__



Revision as of 10:41, 3 September 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.