dialog: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Tests whether any user dialog is open.|= | | Tests whether any user dialog is open.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Boolean]] <nowiki>=</nowiki> [[dialog]] |= | | [[Boolean]] <nowiki>=</nowiki> [[dialog]] |SYNTAX= | ||
| [[Boolean]] - | | [[Boolean]] - | ||
true if a dialog is open, false if not |= | true if a dialog is open, false if not |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |= | |x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Dialog Control]] |= | | [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Dialog Control]] |SEEALSO= | ||
}} | }} |
Revision as of 14:37, 7 April 2019
Description
- Description:
- Tests whether any user dialog is open.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
if (!dialog) then {createDialog "Dialog1";};
Additional Information
- See also:
- displayCtrlcreateDisplaycreateDialogcloseDialogdisplayNullcontrolNullcreateDisplayctrlCreatedisplayParentDialog Control
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: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: GUI Control
- Command Group: Interaction