isGameFocused: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 19:07, 31 August 2019
Description
- Description:
- Returns false if the game window lost focus, due to user Alt+Tab-ing for example.
- Groups:
- Uncategorised
Syntax
- Syntax:
- isGameFocused
- Return Value:
- Boolean
Examples
- Example 1:
if (!isGameFocused) then { endMission "End" };
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
[[Category:Introduced with arma3dev version 1.95]][[ Category: arma3dev: New Scripting Commands | ISGAMEFOCUSED]][[ Category: arma3dev: Scripting Commands | ISGAMEFOCUSED]]