createMissionDisplay: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|arma| | |arma|Game name= | ||
|1.08| | |1.08|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root". |= | | Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root". |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' | | [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' missionRootDirectoryString |SYNTAX= | ||
|p1= display : [[Display]]|= | |p1= display : [[Display]]|PARAMETER1= | ||
|p2= string: [[String]]|= | |p2= string: [[String]]|PARAMETER2= | ||
| [[Display]] |= Return value | | [[Display]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | |||
|s2= [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' [missionRootDirectoryString,cfgMissionsClass] |Syntax 2= | |||
|p21= display : [[Display]]|PARAMETER21= | |||
|p22= missionRootDirectoryString: [[String]] - root direction from \Arma 3\Missions\ROOT |Parameter 22= | |||
|p23= cfgMissionsClass: [[String]] - cfgMissions class to use |Parameter 23= | |||
|r2= [[For Type]] |Return value 2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> _ChildDisplay < | |x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code>|EXAMPLE1= | ||
|x2= In Arma 3 this would create scenarios UI <code>[[findDisplay]] 46 [[createMissionDisplay]] "";</code>|EXAMPLE2= | |||
|x3= Other options for Arma 3: | |||
* (findDisplay 46) createMissionDisplay ["","Cutscenes"]; | |||
* (findDisplay 46) createMissionDisplay ["","Campaigns"]; | |||
* (findDisplay 46) createMissionDisplay ["","MPMissions"]; | |||
* (findDisplay 46) createMissionDisplay ["","Challenges"]; | |||
* (findDisplay 46) createMissionDisplay ["","Showcases"];</code>|EXAMPLE3= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
}} | }} | ||
Line 36: | Line 57: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:45, 3 June 2020
Description
- Description:
- Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root".
- Groups:
- Uncategorised
Syntax
- Syntax:
- Display = display createMissionDisplay missionRootDirectoryString
- Parameters:
- display : Display
- string: String
- Return Value:
- Display
Alternative Syntax
- Syntax:
- Display = display createMissionDisplay [missionRootDirectoryString,cfgMissionsClass]
- Parameters:
- display : Display
- missionRootDirectoryString: String - root direction from \Arma 3\Missions\ROOT
- cfgMissionsClass: String - cfgMissions class to use
- Return Value:
- For Type
Examples
- Example 1:
_ChildDisplay = _Rootdisplay createMissionDisplay "Tutorial";
- Example 2:
- In Arma 3 this would create scenarios UI
findDisplay 46 createMissionDisplay "";
- Example 3:
- Other options for Arma 3:
- (findDisplay 46) createMissionDisplay ["","Cutscenes"];
- (findDisplay 46) createMissionDisplay ["","Campaigns"];
- (findDisplay 46) createMissionDisplay ["","MPMissions"];
- (findDisplay 46) createMissionDisplay ["","Challenges"];
- (findDisplay 46) createMissionDisplay ["","Showcases"];
Additional Information
- See also:
- See also needed
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 Arma version 1.08
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands Armed Assault
- Command Group: GUI Control
- Command Group: Interaction
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters