playMission: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Disclaimer added)
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|PLAYMISSION]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |PLAYMISSION]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|PLAYMISSION]]
{{ArmA-disclaimer}}


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


|2.19|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| 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. |= Description
____________________________________________________________________________________________


'''[campaign, mission]''' or '''[campaign, mission, skipBriefing]:''' [[Array]]
| '''playMission''' [campaign, mission] '''or''' [campaign, mission, skipBriefing] |= Syntax


'''Type of returned value:'''
|p1= [campaign, mission] [[Array]] |= Parameter 1


[[Nothing]]
|p2= [campaign, mission, skipBriefing]: [[]] |= Parameter 2


'''Compatibility:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>playMission ["XOutrage","x05Negotiator.Noe"]</pre> |= Example 1
____________________________________________________________________________________________


Version 2.19 required.
|  |= See also


'''Description:'''
}}


The mission is launched (from the main menu).
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Both campaign and mission are given as their directory name.
<!-- Note Section END -->
</dl>


If the campaign is empty, a single mission is launched.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|PLAYMISSION]]
If skipBriefing is true, the intro and briefing are skipped.
[[Category:Scripting Commands OFP Elite |PLAYMISSION]]
 
[[Category:Scripting Commands ArmA|PLAYMISSION]]
 
'''Example:'''
 
'''playMission''' ["XOutrage","x05Negotiator.Noe"]

Revision as of 00:59, 2 August 2006

-wrong parameter ("Arma") defined!-2.19
Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

Syntax:
playMission [campaign, mission] or [campaign, mission, skipBriefing]
Parameters:
[campaign, mission] Array
[campaign, mission, skipBriefing]: [[]]
Return Value:
Nothing

Examples

Example 1:
playMission ["XOutrage","x05Negotiator.Noe"]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section