Nucleus handler tools β€Ί Docs β€Ί Game β€Ί OnCustomHotKey_1

Game.OnCustomHotKey_1

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

Game.OnCustomHotKey_1: () => void
AI-writtenAI-written. Based on: Nucleus GenericGameInfo.cs (opens in a new tab); GenericGameHandler.cs (opens in a new tab).

Called when the first custom hotkey from Game.CustomHotkeys is pressed. Required if that hotkey is defined (Nucleus calls it without checking). Context is the last player's, or undefined before the first instance is set up.

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