createDialog: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
m (VBS2 scripting category removal) |
||
Line 43: | Line 43: | ||
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 05:10, 19 July 2011
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.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Boolean = createDialog dialogName
- Parameters:
- dialogName: 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
- See also:
- closeDialogdialog
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.5
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Command Group: Interaction
- Scripting Commands ArmA2