createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |1.62|= Game Version |arg= |= Multiplayer Arguments |e...")
 
(updated SeeAlso)
 
(56 intermediate revisions by 7 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 createMPMissionsDisplay 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= ([[findDisplay]] 0) createMPMissionsDisplay "Apex_Protocol"; |= Example 1
 
| - |= See Also
|p2= class: [[String]] - mission collection classname
}}
 
|r1= [[Nothing]]


<dl class='command_description'>
|x1= <sqf>findDisplay 46 createMPCampaignDisplay "Apex";</sqf>
<!-- 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>
|seealso= [[createMissionDisplay]] [[playMission]] [[playScriptedMission]] [[hostMission]]
<!-- Appropriate categories go here -->
}}


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{Note
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|user= R3vo
|timestamp= 20160714231600
|text= <sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf>
[[File:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
}}

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