hostMission [Config, Display]

Operand types

[Config, Display]: Array

Type of returned value

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.

The operand types are:
- Config
- Display

Used In

Arma2OA

Example

hostMission [configFile/"CfgMissions"/"MPMissions"/_scenarioClassName, _currentlyActiveDisplay];
Search OFPEC COMREF