Nucleus handler tools › Docs › Player › ProtoController4

Player.ProtoController4

Open in the workbench (search, and try it in a handler)

Player.ProtoController4: number

Fourth controller index Proto Input gives this player's instance: one-based, 0 means none. With Game.ProtoInput.MultipleProtoControllers, Nucleus sets it right after Game.Play to the third guest's GamepadId + 1, or to the player's own if there are no guests (otherwise 0), unless Game.UseManualProtoControllersSetup is true. Only sent to Proto Input when MultipleProtoControllers is true.

✎ AI-written, based on Nucleus PlayerInfo.cs, ProtoInputLauncher.cs (SetProtoControllersIndex), GenericGameHandler.cs. Not from the official docs. Is it wrong? Tell us

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop