playMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Disclaimer added)
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]]
 
{{ArmA-disclaimer}}


<h2 style="color:#000066">''' playMission ''[campaign, mission]'' or ''[campaign, mission, skipBriefing]'''''</h2>
<h2 style="color:#000066">''' playMission ''[campaign, mission]'' or ''[campaign, mission, skipBriefing]'''''</h2>

Revision as of 20:14, 21 July 2006

Template:ArmA-disclaimer

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