createDialog

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.5Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.5

Description

Description:
Create 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 already another dialog is opened, the desired dialog is created as child dialog of the already opened one.

Syntax

Syntax:
Boolean = createDialog "className"
Parameters:
className: String - class name used in the description.ext / resource.cpp
Return Value:
Boolean - true when the dialog was created successfully

Examples

Example 1:
_ok = createDialog "RscDisplayGame"
?!(_ok) : hint "Dialog couldn't be opened!"

Additional Information

Multiplayer:
Behaviour unknown.
See also:
closeDialog, dialog

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!