Arma 3 Scripting

isGameFocused

  • Arma 3 v1.96

Command · Markdown · JSON · original wiki page

Description

Returns the state of game focus changed by pressing ALT+TAB or similar action.

Syntax

isGameFocused

Returns: Boolean - true if game window is focused, false if not

Examples

Example 1

if (!isGameFocused) then { endMission "End" };

See also

isGamePaused