hostMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Arma 2: Operation Arrowhead: New Scripting Commands List" to "Category:Arma 2: Operation Arrowhead: New Scripting Commands")
m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">")
Line 37: Line 37:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


 
<dt><dt>
<dd class="notedate">Posted on January 03, 2011</dd>
<dd class="notedate">Posted on January 03, 2011</dd>
<dt class="note">[[User:kju|kju]]</dt>
<dt class="note">[[User:kju|kju]]</dt>

Revision as of 00:11, 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.