ControllerType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
m ControllerType moved to ControllerType (Enum)
>Anaminus
No edit summary
Line 1: Line 1:
{{CatUp|Class reference}}
__NOTOC__
The [[Enum]] ControllerType sets the controller for an object. It has 8 numbers:
The [[Enum]] ControllerType sets the controller for an object. It has 8 numbers:



Revision as of 22:03, 6 August 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.