hostMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 35: Line 35:


<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->


<dt><dt>
<dt><dt>
Line 43: Line 42:
The command must be called in the main menu or something similar menu it seems.
The command must be called in the main menu or something similar menu it seems.


<!-- Note Section END -->
</dl>
</dl>



Revision as of 01:34, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Multiplayer

Syntax

Syntax:
Syntax needed
Parameters:
[pConfig, pDisplay]: Array
pConfig: Config
pDisplay: Display
Return Value:
Return value needed

Examples

Example 1:
hostMission [configMissionName, display];
Example 2:
hostMission [configFile >> "CfgMissions" >> "MPMissions" >> _scenarioClassName, _currentlyActiveDisplay];
Example 3:
Arma 3: Launch host mission dialog from a client on dedicated server: hostMission [ configFile >> "CfgMissions" >> "MPmissions" >> "MP_COOP_m01", findDisplay 46 ];

Additional Information

See also:
playScriptedMissionplayMission

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 January 03, 2011
kju
The command must be called in the main menu or something similar menu it seems.