createDialog: 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|CREATEDIALOG]]
[[Category:Scripting Commands|CREATEDIALOG]]
[[Category:Scripting Commands OFP 1.97|CREATEDIALOG]]
[[Category:Scripting Commands OFP 1.96|CREATEDIALOG]]
[[Category:Scripting Commands ArmA|CREATEDIALOG]]
[[Category:Scripting Commands ArmA|CREATEDIALOG]]



Revision as of 20:07, 1 June 2006


createDialog name


Operand types:

name: String

Type of returned value:

Boolean

Compatibility:

Added in version 1.50

Description:

Create user dialog from resource template name.
If user dialog already exists, creates child dialog of topmost user dialog.
Class name is searched for in description.ext of mission, description.ext of campaign and global resource.bin.
Returns success.


Example: _ok = createDialog "RscDisplayGame"