ControllerType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Anaminus
>Anaminus
enum
Line 1: Line 1:
#redirect [[Controller (Property)]]
{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 4px dashed #f00;"
|+ <big>The [[Enum]] ControllerType sets the controller for an object. It has 8 numbers.<big>
|-
| bgcolor="#AB5454"|<span style="color:white">'''Enum'''</span>
| bgcolor="#AB5454"|<span style="color:white">'''Name'''</span>
| bgcolor="#AB5454"|<span style="color:white">'''Description'''</span>
|-
|0
|None
|Object is controlled by nothing.
|-
|1
|KeyboardRight
|Object is controlled with keys U, H, J, and K.
|-
|2
|KeyboardLeft
|Object is controlled with keys W, A, S, and D.
|-
|3
|Joypad1
|
|-
|4
|Joypad2
|
|-
|5
|Chase
|Object chases the nearest player.
|-
|6
|Flee
|Object runs from all players.
|-
|7
|Player
|Object is controlled by a player.
|}<noinclude>
[[Category:Enums]]</noinclude>

Revision as of 02:37, 14 September 2008

The Enum ControllerType sets the controller for an object. It has 8 numbers.
Enum Name Description
0 None Object is controlled by nothing.
1 KeyboardRight Object is controlled with keys U, H, J, and K.
2 KeyboardLeft Object is controlled with keys W, A, S, and D.
3 Joypad1
4 Joypad2
5 Chase Object chases the nearest player.
6 Flee Object runs from all players.
7 Player Object is controlled by a player.