dialog: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
(16 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofpr |= Game name | |||
|1.78|= Game version | |||
____________________________________________________________________________________________ | |||
| Tests whether any user dialog is open.|DESCRIPTION= | |||
____________________________________________________________________________________________ | |||
| [[Boolean]] <nowiki>=</nowiki> [[dialog]] |SYNTAX= | |||
| [[Boolean]] - | |||
true if a dialog is open, false if not |RETURNVALUE= | |||
____________________________________________________________________________________________ | |||
|x1= <code>[[if]] (![[dialog]]) [[then]] {[[createDialog]] "Dialog1";};</code> |EXAMPLE1= | |||
____________________________________________________________________________________________ | |||
| [[displayCtrl]], [[createDisplay]], [[createDialog]], [[closeDialog]], [[displayNull]], [[controlNull]], [[createDisplay]], [[ctrlCreate]], [[displayParent]], [[Dialog Control]] |SEEALSO= | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|DIALOG]] | |||
[[Category:Scripting Commands OFP 1.99|DIALOG]] | |||
[[Category:Scripting Commands OFP 1.96|DIALOG]] | |||
[[Category:Scripting Commands ArmA|DIALOG]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] |
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