createMissionDisplay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2") |
||
Line 60: | Line 60: | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands | [[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 23:59, 9 January 2020
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:
- Uncategorised
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