createMissionDisplay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma1 | |game1= arma1 | ||
|version1= 1.08 | |||
|1. | |game2= arma2 | ||
|version2= 1.00 | |||
|game3= arma2oa | |||
|version3= 1.50 | |||
|game4= tkoh | |||
|version4= 1.00 | |||
|game5= arma3 | |||
|version5= 0.50 | |||
|gr1= GUI Control | |gr1= GUI Control | ||
| Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root". | |descr= Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root". | ||
|s1= | |s1= display [[createMissionDisplay]] missionRootDirectoryString | ||
|p1= display : [[Display]] | |p1= display: [[Display]] | ||
|p2= string: [[String]] | |p2= string: [[String]] | ||
Line 17: | Line 28: | ||
|r1= [[Display]] | |r1= [[Display]] | ||
|s2= | |s2= display [[createMissionDisplay]] [missionRootDirectoryString, cfgMissionsClass] | ||
|p21= display : [[Display]] | |p21= display: [[Display]] | ||
|p22= missionRootDirectoryString: [[String]] - root direction from \Arma 3\Missions\ROOT | |p22= missionRootDirectoryString: [[String]] - root direction from <tt>\Arma 3\Missions\ROOT</tt> | ||
|p23= cfgMissionsClass: [[String]] - cfgMissions class to use | |p23= cfgMissionsClass: [[String]] - cfgMissions class to use | ||
|r2= [[ | |r2= [[Display]] | ||
|x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code> | |x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code> | ||
|x2= In | |x2= In {{arma3}} this creates the scenarios UI<code>[[findDisplay]] 46 [[createMissionDisplay]] "";</code> | ||
|x3= Other options for | |x3= Other options for {{arma3}}: | ||
<code>(findDisplay 46) [[createMissionDisplay]] ["","Cutscenes"]; | |||
([[findDisplay]] 46) [[createMissionDisplay]] ["","Campaigns"]; | |||
([[findDisplay]] 46) [[createMissionDisplay]] ["","MPMissions"]; | |||
([[findDisplay]] 46) [[createMissionDisplay]] ["","Challenges"]; | |||
([[findDisplay]] 46) [[createMissionDisplay]] ["","Showcases"];</code> | |||
|seealso= | |||
}} | }} | ||
Revision as of 14:14, 13 June 2021
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:
- GUI Control
Syntax
- Syntax:
- display createMissionDisplay missionRootDirectoryString
- Parameters:
- display: Display
- string: String
- Return Value:
- Display
Alternative Syntax
- Syntax:
- display createMissionDisplay [missionRootDirectoryString, cfgMissionsClass]
- Parameters:
- display: Display
- missionRootDirectoryString: String - root direction from \Arma 3\Missions\ROOT
- cfgMissionsClass: String - cfgMissions class to use
- Return Value:
- Display
Examples
- Example 1:
_ChildDisplay = _Rootdisplay createMissionDisplay "Tutorial";
- Example 2:
- In Arma 3 this creates the 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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.08
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: GUI Control