isGamePaused: Difference between revisions
| m (updated version to 1.96) | Lou Montana (talk | contribs)  m (arma3dev → arma3) | ||
| Line 2: | Line 2: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |  | | arma3 |Game name= | ||
| |1.96|Game version= | |1.96|Game version= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Line 11: | Line 11: | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |   | |  [[isGamePaused]] |SYNTAX= | ||
| | [[Boolean]] |RETURNVALUE=   | | [[Boolean]] |RETURNVALUE=   | ||
| Line 18: | Line 18: | ||
| { | { | ||
| 	[[if]] ([[isGamePaused]]) [[exitWith]] {};   | 	[[if]] ([[isGamePaused]]) [[exitWith]] {};   | ||
| 	{{cc|...do stuff}} | |||
| };</code>|EXAMPLE1= | };</code>|EXAMPLE1= | ||
| ____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | [[isGameFocused]], [[isUIContext]], [[canSuspend]], [[isRemoteExecuted]], [[isRemoteExecutedJIP]], [[serverCommand]] |SEEALSO=   | | [[isGameFocused]], [[isUIContext]], [[canSuspend]], [[isRemoteExecuted]], [[isRemoteExecutedJIP]], [[serverCommand]] |SEEALSO= | ||
| |  |MPBEHAVIOUR=   | |  |MPBEHAVIOUR= | ||
| }} | }} | ||
Revision as of 21:06, 29 October 2019
Description
- Description:
- Returns true if the game simulation is paused due to some system event like a dialog or pause menu or when user has Alt+Tab-ed (except when -nopause start up param is used). Relevant to SP, in MP simulation does not get paused. 
- Groups:
- Uncategorised
Syntax
- Syntax:
- isGamePaused
- Return Value:
- Boolean
Examples
- Example 1:
- onEachFrame { if (isGamePaused) exitWith {}; // ...do stuff };
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
 
	