createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command


|arma3 |Game name=
|arma3


|1.62|Game Version=
|1.62


|arg=  |Multiplayer Arguments=
|arg=


|eff=  |Multiplayer Effects=
|eff=


|gr1= GUI Control |GROUP1=
|gr1= GUI Control
| Create a MP campaign display. The class name must be a mission collection declared in the configs; for example, {{Inline code|[[configFile]]&nbsp;>>&nbsp;"CfgMissions"&nbsp;>>&nbsp;"MPMissions"&nbsp;>>&nbsp;"Apex"}}<br>
| Create a MP campaign display. The class name must be a mission collection declared in the configs; for example, {{Inline code|[[configFile]]&nbsp;>>&nbsp;"CfgMissions"&nbsp;>>&nbsp;"MPMissions"&nbsp;>>&nbsp;"Apex"}}<br>
If the class doesn't exist or isn't a mission collection, the display will be created empty. |DESCRIPTION=
If the class doesn't exist or isn't a mission collection, the display will be created empty.


| display [[createMPCampaignDisplay]] class |SYNTAX=
| display [[createMPCampaignDisplay]] class


|p1= display - [[Display]] |PARAMETER1=
|p1= display - [[Display]]


|p2= class: [[String]] - Mission collection class [[name]] |PARAMETER2=
|p2= class: [[String]] - Mission collection class [[name]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code> |EXAMPLE1=
|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code>


| [[createMissionDisplay]], [[playMission]], [[createDisplay]] |SEEALSO=
| [[createMissionDisplay]], [[playMission]], [[createDisplay]]
}}
}}



Revision as of 00:10, 18 January 2021

Hover & click on the images for description

Description

Description:
Create a MP campaign display. The class name must be a mission collection declared in the configs; for example, configFile >> "CfgMissions" >> "MPMissions" >> "Apex"
If the class doesn't exist or isn't a mission collection, the display will be created empty.
Groups:
GUI Control

Syntax

Syntax:
display createMPCampaignDisplay class
Parameters:
display - Display
class: String - Mission collection class name
Return Value:
Nothing

Examples

Example 1:
findDisplay 46 createMPCampaignDisplay "Apex";

Additional Information

See also:
createMissionDisplayplayMissioncreateDisplay

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

Bottom Section

Posted on July 14, 2016 - 23:16 (UTC)
R3vo
findDisplay 46 createMPCampaignDisplay "123"; APEX Protocol Campaign Screen