createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "[[Image:" to "[[File:")
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |= Game
|game1= arma3
|1.62|Game Version=
|version1= 1.62
|arg= |Multiplayer Arguments=
 
|eff= |Multiplayer Effects=
|arg= local
____________________________________________________________________________________________
 
| Create a MP campaign display. The class name must be a mission collection declared in the configs; in example, ''[[configFile]]/"CfgMissions"/"MPMissions"/"Apex"/''<br/>
|eff= local
If the class doesn't exist or isn't a mission collection, the display will be created empty. |DESCRIPTION=
 
____________________________________________________________________________________________
|gr1= GUI Control
| display [[createMPCampaignDisplay]] class |SYNTAX=
 
|p1= display - [[Display]] |PARAMETER1=
|descr= Create a MP campaign display. The class name must be a mission collection declared in the configs; for example, <sqf inline>configFile >> "CfgMissions" >> "MPMissions" >> "Apex"</sqf><br>
|p2= class: [[String]] - Mission collection class [[name]] |PARAMETER2=
If the class does not exist or is not a mission collection, the display will be created empty.
|p3=  |PARAMETER3=
 
|p3=  |PARAMETER4=
|s1= display [[createMPCampaignDisplay]] class
|p3=  |PARAMETER5=
 
|p3=  |PARAMETER6=
|p1= display: [[Display]]
| [[Nothing]] |RETURNVALUE=
|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code> |EXAMPLE1=
| [[createMissionDisplay]], [[playMission]], [[createDisplay]] |SEEALSO=
}}


<dl class='command_description'>
|p2= class: [[String]] - mission collection classname
<!-- 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 -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Nothing]]
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|x1= <sqf>findDisplay 46 createMPCampaignDisplay "Apex";</sqf>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- CONTINUE Notes -->
|seealso= [[createMissionDisplay]] [[playMission]] [[createDisplay]]
<dl class="command_description">
}}
<dd class="notedate">Posted on July 14, 2016 - 23:16 (UTC)</dd>
 
<dt class="note">[[User:Revo|Revo]]</dt>
{{Note
<dd class="note">
|user= R3vo
<code>[[findDisplay]] 46 createMPCampaignDisplay "123";</code>
|timestamp= 20160714231600
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
|text= <sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf>
</dd>
[[File:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
</dl>
}}
<!-- DISCONTINUE Notes -->

Latest revision as of 00:09, 21 November 2023

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 does not exist or is not a mission collection, the display will be created empty.
Groups:
GUI Control

Syntax

Syntax:
display createMPCampaignDisplay class
Parameters:
display: Display
class: String - mission collection classname
Return Value:
Nothing

Examples

Example 1:
findDisplay 46 createMPCampaignDisplay "Apex";

Additional Information

See also:
createMissionDisplay playMission createDisplay

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
R3vo - c
Posted on Jul 14, 2016 - 23:16 (UTC)
findDisplay 46 createMPCampaignDisplay "123";
APEX Protocol Campaign Screen