createMissionDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Correct name of parameter in primary variant)
m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\']+)<\/tt>" to "{{hl|$1}}")
Line 32: Line 32:
|p21= display: [[Display]]
|p21= display: [[Display]]


|p22= missionRootDirectoryString: [[String]] - root direction from <tt>\Arma 3\Missions\ROOT</tt>
|p22= missionRootDirectoryString: [[String]] - root direction from {{hl|\Arma 3\Missions\ROOT}}


|p23= cfgMissionsClass: [[String]] - cfgMissions class to use
|p23= cfgMissionsClass: [[String]] - cfgMissions class to use

Revision as of 23:51, 15 November 2021

Hover & click on the images for description

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:
_ChildDisplay = _Rootdisplay createMissionDisplay "Tutorial";
Example 2:
In Arma 3 this creates the scenarios UIfindDisplay 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:
createDialog createDisplay createGearDialog createMPCampaignDisplay

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