dialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
(4 intermediate revisions by 4 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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=


| [[Boolean]] -   
| [[Boolean]] -   
true if a dialog is open, false if not |= Return value
true if a dialog is open, false if not |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>?!(dialog) : createDialog "Dialog1"</pre> |= Example 1
|x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[createDialog]], [[closeDialog]], [[Dialog Control]]  |= See also
| [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Dialog Control]]  |SEEALSO=


}}
}}
Line 33: Line 33:


[[Category:Scripting Commands|DIALOG]]
[[Category:Scripting Commands|DIALOG]]
[[Category:Scripting Commands OFP 1.99|DIALOG]]
[[Category:Scripting Commands OFP 1.96|DIALOG]]
[[Category:Scripting Commands OFP 1.96|DIALOG]]
[[Category:Scripting Commands ArmA|DIALOG]]
[[Category:Scripting Commands ArmA|DIALOG]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]

Revision as of 15:37, 7 April 2019

Hover & click on the images for description

Description

Description:
Tests whether any user dialog is open.
Groups:
Uncategorised

Syntax

Syntax:
Boolean = dialog
Return Value:
Boolean - true if a dialog is open, false if not

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