playMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP Elite |PLAYMISSION]]
[[Category:Scripting Commands OFP Elite |PLAYMISSION]]
[[Category:Scripting Commands ArmA|PLAYMISSION]]
[[Category:Scripting Commands ArmA|PLAYMISSION]]





Revision as of 17:17, 1 July 2006


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