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
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.
✎ AI-written, based on Nucleus ProtoInput.cs (SetupState), ProtoInputLoader Inject.cpp (SetupState), ProtoInputHooks PipeCommunication.cpp, ProtoInputHooks RawInput.cpp (ProcessRawInput). Not from the official docs. Is it wrong? Tell us
Is this right?
Tell us what's wrong