isGameFocused

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 Development Branch version 1.95
  

Click on the images for descriptions

Introduced in

Game:
Arma 3 Development Branch
Version:
1.95

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

Multiplayer:
-
See also:
isGamePausedisUIContextcanSuspendisRemoteExecutedisRemoteExecutedJIPserverCommand

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section