Controller (Property): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Properties}} {{Property| name = Controller |property = Enum ''Controller'' |description = Sets how the object is controlled by the Controller Enum set. |object =...")
 
No edit summary
Line 48: Line 48:
|Object is controlled by a player.
|Object is controlled by a player.
|}
|}
[[Category:Properties]]

Revision as of 09:24, 23 June 2020


Property
Name Controller
Property Enum Controller
Description: Sets how the object is controlled by the Controller Enum set.
In Object: Flagstand, Part, Model, Seat, SpawnLocation, Workspace



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.