dialog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| ofpr |Game name= | | ofpr |Game name= | ||
Line 7: | Line 6: | ||
|gr1= GUI Control |GROUP1= | |gr1= GUI Control |GROUP1= | ||
| Tests whether any user dialog is open.|DESCRIPTION= | | Tests whether any user dialog is open.|DESCRIPTION= | ||
| [[Boolean]] <nowiki>=</nowiki> [[dialog]] |SYNTAX= | | [[Boolean]] <nowiki>=</nowiki> [[dialog]] |SYNTAX= | ||
Line 16: | Line 13: | ||
| [[Boolean]] - | | [[Boolean]] - | ||
true if a dialog is open, false if not |RETURNVALUE= | true if a dialog is open, false if not |RETURNVALUE= | ||
|x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |EXAMPLE1= | |x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |EXAMPLE1= | ||
| [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Arma: GUI Configuration]] |SEEALSO= | | [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Arma: GUI Configuration]] |SEEALSO= |
Revision as of 00:41, 17 January 2021
Description
- Description:
- Tests whether any user dialog is open.
- Groups:
- GUI Control
Syntax
Examples
- Example 1:
if (!dialog) then {createDialog "Dialog1";};
Additional Information
- See also:
- displayCtrlcreateDisplaycreateDialogcloseDialogdisplayNullcontrolNullcreateDisplayctrlCreatedisplayParentArma: GUI Configuration
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.78
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: GUI Control
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands