hostMission: Difference between revisions
Jump to navigation
Jump to search
(updated SeeAlso) |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
Line 25: | Line 25: | ||
|x2= Launch host mission dialog from a client on dedicated server in {{arma3}}: | |x2= Launch host mission dialog from a client on dedicated server in {{arma3}}: | ||
<sqf>hostMission [ | <sqf> | ||
hostMission [ | |||
configFile >> "CfgMissions" >> "MPmissions" >> "MP_COOP_m01", | configFile >> "CfgMissions" >> "MPmissions" >> "MP_COOP_m01", | ||
findDisplay 46 | findDisplay 46 | ||
];</sqf> | ]; | ||
</sqf> | |||
|seealso= [[playScriptedMission]] [[playMission]] [[createMPCampaignDisplay]] [[createMissionDisplay]] | |seealso= [[playScriptedMission]] [[playMission]] [[createMPCampaignDisplay]] [[createMissionDisplay]] |
Latest revision as of 11:34, 3 September 2024
Description
- Description:
- Host the multiplayer mission defined in the config class and opens the lobby with the scenario loaded. Must be called in UI action from a dialog.
- Groups:
- Multiplayer
Syntax
- Syntax:
- hostMission [configEntry, activeDisplay]
- Parameters:
- configEntry: Config
- activeDisplay: Display
- Return Value:
- Nothing
Examples
- Example 1:
- hostMission [configFile >> "CfgMissions" >> "MPMissions" >> _scenarioClassName, _currentlyActiveDisplay];
- Example 2:
- Launch host mission dialog from a client on dedicated server in Arma 3:
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
- Posted on Jan 03, 2011 - 16:51 (UTC)
- The command must be called in the main menu or something similar menu it seems.