createMPCampaignDisplay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "<dd class="note">([^}]*)<code>([^<]*)<\/code>" to "<dd class="note">$1<sqf>$2</sqf>")
Line 33: Line 33:
<dt class="note">[[User:R3vo|R3vo]]</dt>
<dt class="note">[[User:R3vo|R3vo]]</dt>
<dd class="note">
<dd class="note">
<code>findDisplay 46 createMPCampaignDisplay "123";</code>
<sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf>
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]]
</dd>
</dd>


</dl>
</dl>

Revision as of 11:57, 13 May 2022

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 doesn't exist or isn't a mission collection, the display will be created empty.
Groups:
GUI Control

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:
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


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