createDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
Create user [[dialog]] from resource template '''name'''.<br>
Create user [[dialog]] from resource template '''name'''.<br>
If user [[dialog]] already exists, creates child [[dialog]] of topmost user [[dialog]].<br>
If user [[dialog]] already exists, creates child [[dialog]] of topmost user [[dialog]].<br>
Class '''name''' is searched for in [[description.ext]] of mission, [[description.ext]] of campaign and global [[resource.cpp]].<br>
Class '''name''' is searched for in [[description.ext]] of mission, [[description.ext]] of campaign and global [[Resource.cpp]].<br>
Returns success.
Returns success.



Revision as of 16:43, 21 April 2006


back to COMREF

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


Example: _ok = createDialog "RscDisplayGame"