playMission: Difference between revisions

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


<new command not populated>




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




'''Operand types:'''
'''Operand types:'''
[campaign, mission] or [campaign, mission, skipBriefing]: [[Array]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.19 required.


'''Description:'''
'''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:'''
'''Example:'''
'''playMission'''["XOutrage","x05Negotiator.Noe"]

Revision as of 22:20, 28 June 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"]