playMission: Difference between revisions
Jump to navigation
Jump to search
m (Disclaimer added) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.19|= Game version | |||
____________________________________________________________________________________________ | |||
| 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] | | '''playMission''' [campaign, mission] '''or''' [campaign, mission, skipBriefing] |= Syntax | ||
|p1= [campaign, mission] [[Array]] |= Parameter 1 | |||
[[ | |p2= [campaign, mission, skipBriefing]: [[]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>playMission ["XOutrage","x05Negotiator.Noe"]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|PLAYMISSION]] | |||
[[Category:Scripting Commands OFP Elite |PLAYMISSION]] | |||
[[Category:Scripting Commands ArmA|PLAYMISSION]] | |||
Revision as of 23:59, 1 August 2006
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