Nucleus handler tools β€Ί Docs β€Ί ProtoInput β€Ί SetupState

ProtoInput.SetupState

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

ProtoInput.SetupState(
  instanceHandle: number,
  instanceIndex: number
): void
AI-writtenAI-written. Based on: Nucleus ProtoInput.cs (opens in a new tab) (SetupState); ProtoInputLoader Inject.cpp (opens in a new tab) (SetupState); ProtoInputHooks PipeCommunication.cpp (opens in a new tab); RawInput.cpp (opens in a new tab) (ProcessRawInput).

Tells Proto Input in the game which instance number it is, starting at 1 (lower values are refused). Parameters: the instance handle and the number. Proto Input uses it for its window shortcut (right Ctrl + right Alt + that number key opens its GUI) and shows it there.

Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop