hostMission: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (Added SEEALSO) |
||
Line 27: | Line 27: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[playScriptedMission]] |= See also | | [[playScriptedMission]], [[playMission]] |= See also | ||
}} | }} | ||
Revision as of 19:04, 4 February 2012
Description
- Description:
- Host the mp mission described by config class. Should be called as reaction to some UI action in some dialog. For example you can start a MP scenario from a button. It creates a host and takes you to the lobby with the scenario loaded. You need to provide the display which is active when the hostMission command is called.
- Groups:
- Uncategorised
Syntax
- Syntax:
- hostMission [Config, Display]
- Parameters:
- Config: Config
- Config: Display
- Return Value:
- Nothing
Examples
- Example 1:
hostMission [configMissionName, display];
- Example 2:
hostMission [configFile/"CfgMissions"/"MPMissions"/_scenarioClassName, _currentlyActiveDisplay];
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
Notes
- Posted on January 03, 2011
- kju
- The command must be called in the main menu or something similar menu it seems.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.55
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List