Killzone_Kid
A user dialog created with createDisplay over mission display (findDisplay 46) will stop display event handlers added to mission display from firing. However if it is created with createDialog then the event handlers continue to work.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Creates a dialog which is defined either in the mission's description.ext, in the campaign's description.ext or in the global resource.cpp. The given name has to be the class name used in one of these files. If another dialog is already opened, the desired dialog is created as a child dialog of the one already opened.
Note
By default, displays created with createDisplay are rendered on top of dialogs created with createDialog. If forceOnTop is set to true, the dialog will be rendered on top of displays.
createDialog dialogName
Parameters:
dialogName: String - class name used in the description.ext, resource.cpp or config.cppReturns: Boolean - true when the dialog was created successfully
since arma3 2.08
createDialog [dialogName, forceOnTop]
Parameters:
dialogName: String - class name used in the description.ext, resource.cpp or config.cppforceOnTop: Boolean - (Optional, default false) if true, dialog will be rendered on top of displaysReturns: Display - created dialog
private _ok = createDialog "RscDisplayGame";
if (!_ok) then { hint "Dialog could not be opened!" };
displayCtrl · createDisplay · closeDialog · dialog · displayNull · controlNull · ctrlCreate · displayParent
A user dialog created with createDisplay over mission display (findDisplay 46) will stop display event handlers added to mission display from firing. However if it is created with createDialog then the event handlers continue to work.