createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Revo" to "R3vo")
m (Text replacement - "[[Image:" to "[[File:")
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


|arma3 |Game name=
|game1= arma3
|version1= 1.62


|1.62|Game Version=
|arg= local


|arg=  |Multiplayer Arguments=
|eff= local


|eff=  |Multiplayer Effects=
|gr1= GUI Control


|gr1= GUI Control |GROUP1=
|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>
____________________________________________________________________________________________
If the class does not exist or is not a mission collection, the display will be created empty.
| 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=
____________________________________________________________________________________________


| display [[createMPCampaignDisplay]] class |SYNTAX=
|s1= display [[createMPCampaignDisplay]] class


|p1= display - [[Display]] |PARAMETER1=
|p1= display: [[Display]]


|p2= class: [[String]] - Mission collection class [[name]] |PARAMETER2=
|p2= class: [[String]] - mission collection classname


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]


|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code> |EXAMPLE1=
|x1= <sqf>findDisplay 46 createMPCampaignDisplay "Apex";</sqf>


| [[createMissionDisplay]], [[playMission]], [[createDisplay]] |SEEALSO=
|seealso= [[createMissionDisplay]] [[playMission]] [[createDisplay]]
}}
}}


<dl class='command_description'>
{{Note
<!-- BEGIN Note Section -->
|user= R3vo
 
|timestamp= 20160714231600
<!-- END Note Section -->
|text= <sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf>
</dl>
[[File:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
 
}}
<h3 style='display:none'>Bottom Section</h3>
<!-- Appropriate categories go here -->
 
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on July 14, 2016 - 23:16 (UTC)</dd>
<dt class="note">[[User:R3vo|R3vo]]</dt>
<dd class="note">
<code>[[findDisplay]] 46 createMPCampaignDisplay "123";</code>
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
</dd>
</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