createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(missing note)
(updated SeeAlso)
 
(50 intermediate revisions by 5 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]] |= Parameter 1
|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]] |= Parameter 2
If the class does not exist or is not a mission collection, the display will be created empty.
|p3=  |= Parameter 3
 
|p3=  |= Parameter 4
|s1= display [[createMPCampaignDisplay]] class
|p3=  |= Parameter 5
 
|p3=  |= Parameter 6
|p1= display: [[Display]]
| [[Display]] |= Return Value
|x1= <code>([[findDisplay]] 0) [[createMPCampaignDisplay]] "Apex"</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