playMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




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




'''Operand types:'''
'''Operand types:'''


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


'''Type of returned value:'''
'''Type of returned value:'''
Line 22: Line 22:
'''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.
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"]
'''playMission''' ["XOutrage","x05Negotiator.Noe"]

Revision as of 17:12, 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"]