createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(display 0 cases crash, returns NOTHING)
Line 16: Line 16:
|p3=  |= Parameter 5
|p3=  |= Parameter 5
|p3=  |= Parameter 6
|p3=  |= Parameter 6
| [[Display]] |= Return Value
| [[Nothing]] |= Return Value
|x1= <code>([[findDisplay]] 46) [[createMPCampaignDisplay]] "Apex"</code> |= Example 1
|x1= <code>[[findDisplay]] 46 [[createMPCampaignDisplay]] "Apex";</code> |= Example 1
| - |= See Also
| [[createMissionDisplay]], [[playMission]], [[createDisplay]] |= See Also
}}
}}


Line 43: Line 43:
<dt class="note">[[User:Revo|Revo]]</dt>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
<dd class="note">
<code>([[findDisplay]] 0) createMPCampaignDisplay "Apex_Protocol"</code>
<code>[[findDisplay]] 46 createMPCampaignDisplay "123";</code>
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 20:02, 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:
Nothing

Examples

Example 1:
findDisplay 46 createMPCampaignDisplay "Apex";

Additional Information

See also:
createMissionDisplayplayMissioncreateDisplay

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

Posted on July 14, 2016 - 23:16 (UTC)
Revo
findDisplay 46 createMPCampaignDisplay "123"; APEX Protocol Campaign Screen