hostMission: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
||
Line 5: | Line 5: | ||
|1.55 | |1.55 | ||
|gr1 = Multiplayer | |gr1= Multiplayer | ||
| Host the mp mission described by config class. Should be called as reaction to some UI action in some dialog.<br> | | Host the mp mission described by config class. Should be called as reaction to some UI action in some dialog.<br> |
Revision as of 12:46, 11 April 2021
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.