Warning: file_put_contents(/ff_508b98f587b02549a8aef561aa5707383641bbf23c99ff99.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
hostMission - OFPEC Scripting Command Reference | OFPEC The Editing Center

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];

Advertisement