isUIContext: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(1.76 implemented)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game
| arma3 |= Game name
|1.73|= Game Version
|1.76|= Game version


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 22:14, 7 September 2017

Hover & click on the images for description

Description

Description:
Returns true if the script originated from some UI control event, for example from "onButtonDown" EH. Exists within parent scope and immediate child scopes.
Groups:
Uncategorised

Syntax

Syntax:
isUIContext
Return Value:
Boolean

Examples

Example 1:
if (isUIContext) then {hint "UI control event"};

Additional Information

See also:
canSuspendisRemoteExecutedisRemoteExecutedJIP

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

Notes

Bottom Section