dialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|DIALOG]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|DIALOG]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|DIALOG]]


| ofpr |= Game name


<h2 style="color:#000066">'''dialog'''</h2>
|1.78|= Game version
____________________________________________________________________________________________


| Returns if a user dialog is present. Read [[Dialog Control]] for more information about user dialogs and controls. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''dialog''' |= Syntax


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


'''Type of returned value:'''
| [[createDialog]], [[closeDialog]] |= See also


[[Boolean]]
}}


'''Compatibility:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Added in version '''1.78'''
<!-- Note Section END -->
</dl>


'''Description:'''
<h3 style="display:none">Bottom Section</h3>


Check if user '''dialog''' is present.
[[Category:Scripting Commands|DIALOG]]
 
[[Category:Scripting Commands OFP 1.96|DIALOG]]
 
[[Category:Scripting Commands ArmA|DIALOG]]
'''Example:'''
 
? ! '''dialog''' : [[goto]] "play"

Revision as of 23:45, 1 August 2006

Hover & click on the images for description

Description

Description:
Returns if a user dialog is present. Read [[Dialog Control]] for more information about user dialogs and controls.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
?!(dialog) : createDialog "Dialog1"

Additional Information

See also:
createDialogcloseDialog

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