createMissionDisplay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma1 | |arma1 | ||
|1.08 | |1.08 | ||
|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". | | Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root". | ||
| [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' missionRootDirectoryString | | [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' missionRootDirectoryString | ||
|p1= display : [[Display]] | |p1= display : [[Display]] | ||
|p2= string: [[String]] | |p2= string: [[String]] | ||
| [[Display]] | | [[Display]] | ||
|s2= [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' [missionRootDirectoryString,cfgMissionsClass] |Syntax 2= | |s2= [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' [missionRootDirectoryString,cfgMissionsClass] |Syntax 2= | ||
Line 25: | Line 25: | ||
|p23= cfgMissionsClass: [[String]] - cfgMissions class to use |Parameter 23= | |p23= cfgMissionsClass: [[String]] - cfgMissions class to use |Parameter 23= | ||
|r2= [[For Type]] | |r2= [[For Type]] | ||
|x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code> | |x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code> | ||
|x2= In Arma 3 this would create scenarios UI <code>[[findDisplay]] 46 [[createMissionDisplay]] "";</code> | |x2= In Arma 3 this would create scenarios UI <code>[[findDisplay]] 46 [[createMissionDisplay]] "";</code> | ||
|x3= Other options for Arma 3: | |x3= Other options for Arma 3: | ||
Line 36: | Line 36: | ||
* (findDisplay 46) createMissionDisplay ["","MPMissions"]; | * (findDisplay 46) createMissionDisplay ["","MPMissions"]; | ||
* (findDisplay 46) createMissionDisplay ["","Challenges"]; | * (findDisplay 46) createMissionDisplay ["","Challenges"]; | ||
* (findDisplay 46) createMissionDisplay ["","Showcases"];</code> | * (findDisplay 46) createMissionDisplay ["","Showcases"];</code> | ||
| | | | ||
}} | }} |
Revision as of 00:12, 18 January 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 = 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