isUIContext

From Bohemia Interactive Community
Revision as of 16:13, 29 June 2017 by Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game |1.73|= Game Version ___________________...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.73|1.73]]
Hover & click on the images for description

Description

Description:
Returns true is 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

[[Category:Introduced with arma3dev version 1.73]][[ Category: arma3dev: New Scripting Commands | ISUICONTEXT]][[ Category: arma3dev: Scripting Commands | ISUICONTEXT]]

Notes

Bottom Section