createDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|C]]


back to [[Scripting_Reference#C|COMREF]]


<h2 style="color:#000066"> '''createDialog ''name'''''</h2>
<h2 style="color:#000066"> '''createDialog ''name'''''</h2>

Revision as of 12:47, 23 April 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"