playMission

From Bohemia Interactive Community
Revision as of 17:17, 1 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


playMission [campaign, mission] or [campaign, mission, skipBriefing]


Operand types:

[campaign, mission] or [campaign, mission, skipBriefing]: Array

Type of returned value:

Nothing

Compatibility:

Version 2.19 required.

Description:

The mission is launched (from the main menu).

Both campaign and mission are given as their directory name.

If the campaign is empty, a single mission is launched.

If skipBriefing is true, the intro and briefing are skipped.


Example:

playMission ["XOutrage","x05Negotiator.Noe"]