BIS fnc endMission: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version ___________________...") |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma3 |= Game name | ||
| | |0.50|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Ends mission with a fade effect. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [endName,isVictory,fadeType] spawn BIS_fnc_endMission; |= Syntax | ||
|p1= |= | |p1= '''endName''': [[String]] - end type, as used in [[endMission]] command (default: "end1") |= | ||
|p2= '''isVictory''': [[Boolean]] - true to successful end, false for failed end (default: true) |= | |||
|p3= '''fadeType''': [[Boolean]] or [[Number]] - true for signature [[Debriefing|closing shot]]. When number, simple fade to black of given duration is used. |= | |||
| |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>"end1" call BIS_fnc_endMission;</code> |= | |||
| | |x2= <code><nowiki>[</nowiki>"epicFail",false,2] call BIS_fnc_endMission;</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Debriefing]] |= See also | ||
}} | }} | ||
Line 55: | Line 36: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Arma 3:_Functions|endMission]] | |||
[[Category: | [[Category:Function Group: Missions|endMission]] | ||
[[Category: |
Revision as of 13:12, 25 March 2013
Description
- Description:
- Ends mission with a fade effect.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [endName,isVictory,fadeType] spawn BIS_fnc_endMission;
- Parameters:
- endName: String - end type, as used in endMission command (default: "end1")
- isVictory: Boolean - true to successful end, false for failed end (default: true)
- fadeType: Boolean or Number - true for signature closing shot. When number, simple fade to black of given duration is used.
- Return Value:
- Nothing
Examples
- Example 1:
"end1" call BIS_fnc_endMission;
- Example 2:
["epicFail",false,2] call BIS_fnc_endMission;
Additional Information
- See also:
- Debriefing
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