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)
No edit summary
Line 6: Line 6:
|eff=  |= Multiplayer Effects
|eff=  |= Multiplayer Effects
____________________________________________________________________________________________
____________________________________________________________________________________________
| Create a MP campaign display. |= Description
| Create a MP campaign display. The class name must be a mission collection declared in the configs; in example, ''[[configFile]]/"CfgMissions"/"MPMissions"/"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
| display [[createMPCampaignDisplay]] class |= Syntax
|p1= display - [[Display]] |= Parameter 1
|p1= display - [[Display]] |= Parameter 1
|p2= class: [[String]] - Mission collection class [[name]] |= Parameter 2
|p2= class: [[String]] - Mission collection class [[name]] |= Parameter 2
Line 16: Line 17:
|p3=  |= Parameter 6
|p3=  |= Parameter 6
| [[Display]] |= Return Value
| [[Display]] |= Return Value
|x1= <code>([[findDisplay]] 0) createMPCampaignDisplay "Apex_Protocol"</code> |= Example 1
|x1= <code>([[findDisplay]] 0) [[createMPCampaignDisplay]] "Apex"</code> |= Example 1
| - |= See Also
| - |= See Also
}}
}}
Line 38: Line 39:


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
 
<dd class="notedate">Posted on July 14, 2016 - 23:16 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
<code>([[findDisplay]] 0) createMPCampaignDisplay "Apex_Protocol"</code>
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
</dd>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 10:28, 15 July 2016

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; in example, configFile/"CfgMissions"/"MPMissions"/"Apex"/
If the class doesn't exist or isn't a mission collection, the display will be created empty.
Groups:
Uncategorised

Syntax

Syntax:
display createMPCampaignDisplay class
Parameters:
display - Display
class: String - Mission collection class name
Return Value:
Display

Examples

Example 1:
(findDisplay 0) createMPCampaignDisplay "Apex"

Additional Information

See also:
-

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

Bottom Section