createMPCampaignDisplay: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
(updated SeeAlso) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 17: | Line 17: | ||
|p1= display: [[Display]] | |p1= display: [[Display]] | ||
|p2= class: [[String]] - | |p2= class: [[String]] - mission collection classname | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 23: | Line 23: | ||
|x1= <sqf>findDisplay 46 createMPCampaignDisplay "Apex";</sqf> | |x1= <sqf>findDisplay 46 createMPCampaignDisplay "Apex";</sqf> | ||
|seealso= [[createMissionDisplay]] [[playMission]] [[ | |seealso= [[createMissionDisplay]] [[playMission]] [[playScriptedMission]] [[hostMission]] | ||
}} | }} | ||
Line 30: | Line 30: | ||
|timestamp= 20160714231600 | |timestamp= 20160714231600 | ||
|text= <sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf> | |text= <sqf>findDisplay 46 createMPCampaignDisplay "123";</sqf> | ||
[[ | [[File:MPCampaignDisplay_Apex Protocol.jpg|APEX Protocol Campaign Screen]] | ||
}} | }} |
Latest revision as of 09:49, 21 August 2024
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
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