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

Game.SendFakeFocusMsg

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

Game.SendFakeFocusMsg: boolean
AI-writtenAI-written. Based on: Nucleus GenericGameHandler.cs (opens in a new tab) (last-instance block); WindowFakeFocus.cs (opens in a new tab) (SendFakeFocusMsg).

Sends focus messages once to every player's game window, one second apart, after the last instance has started, to make each game believe it has focus. Game.FakeFocusSendActivate adds the activate message. Not run with Game.ProcessChangesAtEnd.

In practice

By engine: rarer in Source and Unreal Engine games.

Example: From Hub handlers

Game.SendFakeFocusMsg = true;
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