isGameFocused

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.961.96
Hover & click on the images for descriptions

Description

Description:
Returns false if the game window lost focus, due to user Alt+Tab-ing for example.

Syntax

Syntax:
isGameFocused
Return Value:
Boolean

Examples

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

Additional Information

See also:
isGamePausedisUIContextcanSuspendisRemoteExecutedisRemoteExecutedJIPserverCommand

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section