createDialog

From Bohemia Interactive Community
Revision as of 17:32, 16 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

createDialog name


Operand types:

name: String

Type of returned value:

Boolean

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.cpp.
Returns success.


Example: _ok = createDialog "RscDisplayGame"