BIS fnc endMissionServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix arguments and example) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Ends the mission properly for all players in a multiplayer environment. |= | | Ends the mission properly for all players in a multiplayer environment. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| endType call [[BIS_fnc_endMissionServer]] |= | | endType call [[BIS_fnc_endMissionServer]] |SYNTAX= | ||
|p1= endType: [[String]] - class name of ending defined in [[Description.ext#CfgDebriefing|CfgDebriefing]].<br /> | |p1= endType: [[String]] - class name of ending defined in [[Description.ext#CfgDebriefing|CfgDebriefing]].<br /> | ||
Line 21: | Line 21: | ||
|= Parameter 1 | |= Parameter 1 | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>"SideScore" [[call]] [[BIS_fnc_endMissionServer]];</code>|= Example 1 | |x1= <code>"SideScore" [[call]] [[BIS_fnc_endMissionServer]];</code>|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[BIS_fnc_endMission]], [[failMission]], [[forceEnd]], [[endMission]] |= | | [[BIS_fnc_endMission]], [[failMission]], [[forceEnd]], [[endMission]] |SEEALSO= | ||
| |= Multiplayer | | |= Multiplayer |
Revision as of 11:28, 7 April 2019
Description
- Description:
- Ends the mission properly for all players in a multiplayer environment.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- endType call BIS_fnc_endMissionServer
- Parameters:
- endType: String - class name of ending defined in CfgDebriefing.
Can be custom or one of dynamically calculated ones:- "EveryoneWon" - show "MISSION COMPLETED" to everyone
- "EveryoneLost" - show "MISSION FAILED" to everyone
- "SideScore" - show "YOUR SIDE WON" to side with largest score
- "GroupScore" - show "YOUR GROUP WON" to group with largest score
- "PlayerScore" - show "YOU WON" to player with largest score
- Return Value:
- Boolean
Examples
- Example 1:
"SideScore" call BIS_fnc_endMissionServer;
Additional Information
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