createMPCampaignDisplay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dd class="note">([^}]*)<code>([^<]*)<\/code>" to "<dd class="note">$1<sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 10: | Line 10: | ||
|gr1= GUI Control | |gr1= GUI Control | ||
|descr= Create a MP campaign display. The class name must be a mission collection declared in the configs; for example, | |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 | If the class does not exist or is not a mission collection, the display will be created empty. | ||
|s1= display [[createMPCampaignDisplay]] class | |s1= display [[createMPCampaignDisplay]] class | ||
Line 17: | Line 17: | ||
|p1= display: [[Display]] | |p1= display: [[Display]] | ||
|p2= class: [[String]] - Mission collection | |p2= class: [[String]] - Mission collection classname | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 26: | Line 26: | ||
}} | }} | ||
{{Note | |||
|user= R3vo | |||
|timestamp= 20160714231600 | |||
|text= <sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf> | |||
<sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf> | |||
[[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]] | [[Image:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]] | ||
}} | |||
Revision as of 16:08, 27 July 2022
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:
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