createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Tom 48 97 moved page createMPMissionsDisplay to createMPCampaignDisplay without leaving a redirect: Wrong page name)
(updated SeeAlso)
 
(52 intermediate revisions by 6 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. |= Description
|eff= local
____________________________________________________________________________________________
 
| display createMPCampaignDisplay class |= Syntax
|gr1= GUI Control
|p1= display - [[Display]] |= Parameter 1
 
|p2= class: [[String]] - Mission collection class [[name]] |= Parameter 2
|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>
|p3=  |= Parameter 3
If the class does not exist or is not a mission collection, the display will be created empty.
|p3=  |= Parameter 4
 
|p3= |= Parameter 5
|s1= display [[createMPCampaignDisplay]] class
|p3=  |= Parameter 6
 
| [[Display]] |= Return Value
|p1= display: [[Display]]
|x1= <code>([[findDisplay]] 0) createMPCampaignDisplay "Apex_Protocol"</code> |= Example 1
| - |= See Also
}}


<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]] [[playScriptedMission]] [[hostMission]]
<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]] 0) createMPCampaignDisplay "Apex_Protocol"</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 09:49, 21 August 2024

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 playScriptedMission hostMission

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