isUIContext: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
Line 20: Line 20:
| [[canSuspend]], [[isRemoteExecuted]], [[isRemoteExecutedJIP]], [[isGamePaused]], [[isGameFocused]], [[serverCommand]]
| [[canSuspend]], [[isRemoteExecuted]], [[isRemoteExecutedJIP]], [[isGamePaused]], [[isGameFocused]], [[serverCommand]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 15:36, 15 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI ControlProgram Flow

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
if (isUIContext) then {hint "UI control event"};
Example 2:
_button ctrlSetEventHandler ['ButtonDown',"call {diag_log isUIContext}"]; // Outputs true
Example 3:
_button ctrlSetEventHandler ['ButtonDown',"[] spawn {diag_log isUIContext}"]; // Outputs false

Additional Information

See also:
See also needed

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