createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|arma3 |= Game " to "|arma3 |Game name= ")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
|arma3 |Game name=
|arma3 |Game name=
|1.62|Game Version=
|1.62|Game Version=
|arg=  |Multiplayer Arguments=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=
|eff=  |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________
| Create a MP campaign display. The class name must be a mission collection declared in the configs; in example, ''[[configFile]]/"CfgMissions"/"MPMissions"/"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. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________
| display [[createMPCampaignDisplay]] class |SYNTAX=
| display [[createMPCampaignDisplay]] class |SYNTAX=
|p1= display - [[Display]] |PARAMETER1=
|p1= display - [[Display]] |PARAMETER1=
|p2= class: [[String]] - Mission collection class [[name]] |PARAMETER2=
|p2= class: [[String]] - Mission collection class [[name]] |PARAMETER2=
|p3=  |PARAMETER3=
 
|p3=  |PARAMETER4=
|p3=  |PARAMETER5=
|p3=  |PARAMETER6=
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code> |EXAMPLE1=
|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code> |EXAMPLE1=
| [[createMissionDisplay]], [[playMission]], [[createDisplay]] |SEEALSO=
| [[createMissionDisplay]], [[playMission]], [[createDisplay]] |SEEALSO=
}}
}}
Line 23: Line 29:
<dl class='command_description'>
<dl class='command_description'>
<!-- BEGIN Note Section -->
<!-- BEGIN Note Section -->
<!-- For example:
 
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { hint: Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
<!-- END Note Section -->
</dl>
</dl>

Revision as of 13:18, 3 September 2019

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:
Uncategorised

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)
Revo
findDisplay 46 createMPCampaignDisplay "123"; APEX Protocol Campaign Screen