createMissionDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?]]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma1|Game name=
|arma1|Game name=
Line 7: Line 6:


|gr1= GUI Control |GROUP1=
|gr1= GUI Control |GROUP1=
____________________________________________________________________________________________


| 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=
| 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''' missionRootDirectoryString  |SYNTAX=
| [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' missionRootDirectoryString  |SYNTAX=
Line 19: Line 16:


| [[Display]] |RETURNVALUE=
| [[Display]] |RETURNVALUE=
____________________________________________________________________________________________


|s2= [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' [missionRootDirectoryString,cfgMissionsClass] |Syntax 2=
|s2= [[Display]] <nowiki>=</nowiki> display '''createMissionDisplay''' [missionRootDirectoryString,cfgMissionsClass] |Syntax 2=
Line 30: Line 26:


|r2= [[For Type]] |Return value 2=
|r2= [[For Type]] |Return value 2=
____________________________________________________________________________________________
   
   
|x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code>|EXAMPLE1=
|x1= <code>_ChildDisplay = _Rootdisplay [[createMissionDisplay]] "Tutorial";</code>|EXAMPLE1=
Line 43: Line 38:
* (findDisplay 46) createMissionDisplay ["","Showcases"];</code>|EXAMPLE3=
* (findDisplay 46) createMissionDisplay ["","Showcases"];</code>|EXAMPLE3=


____________________________________________________________________________________________


| |SEEALSO=
| |SEEALSO=

Revision as of 00:22, 17 January 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 = 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