createMissionDisplay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 40: | Line 40: | ||
|x1= <sqf>_ChildDisplay = _Rootdisplay createMissionDisplay "Tutorial";</sqf> | |x1= <sqf>_ChildDisplay = _Rootdisplay createMissionDisplay "Tutorial";</sqf> | ||
|x2= In {{arma3}} this creates the scenarios UI< | |x2= In {{arma3}} this creates the scenarios UI | ||
<sqf>findDisplay 46 createMissionDisplay "";</sqf> | |||
|x3= Other options for {{arma3}}: | |x3= Other options for {{arma3}}: | ||
< | <sqf> | ||
(findDisplay 46) createMissionDisplay ["","Cutscenes"]; | |||
(findDisplay 46) createMissionDisplay ["","Campaigns"]; | (findDisplay 46) createMissionDisplay ["","Campaigns"]; | ||
(findDisplay 46) createMissionDisplay ["","MPMissions"]; | (findDisplay 46) createMissionDisplay ["","MPMissions"]; | ||
(findDisplay 46) createMissionDisplay ["","Challenges"]; | (findDisplay 46) createMissionDisplay ["","Challenges"]; | ||
(findDisplay 46) createMissionDisplay ["","Showcases"];</ | (findDisplay 46) createMissionDisplay ["","Showcases"]; | ||
</sqf> | |||
|seealso= [[createDialog]] [[createDisplay]] [[createGearDialog]] [[createMPCampaignDisplay]] | |seealso= [[createDialog]] [[createDisplay]] [[createGearDialog]] [[createMPCampaignDisplay]] | ||
}} | }} |
Revision as of 15:55, 13 May 2022
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
- missionRootDirectoryString: 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:
- Example 2:
- In Arma 3 this creates the scenarios UI
- 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
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