BIS fnc endMissionServer: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Multiplayer | |gr1 = Multiplayer | ||
|serverExec= server | |serverExec= server | ||
| Ends the mission properly for all players in a multiplayer environment. | | Ends the mission properly for all players in a multiplayer environment. | ||
| endType call [[BIS_fnc_endMissionServer]] | | endType call [[BIS_fnc_endMissionServer]] | ||
|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 20: | Line 20: | ||
* "GroupScore" - show "YOUR GROUP WON" to group with largest score | * "GroupScore" - show "YOUR GROUP WON" to group with largest score | ||
* "PlayerScore" - show "YOU WON" to player with largest score | * "PlayerScore" - show "YOU WON" to player with largest score | ||
| | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>"SideScore" [[call]] [[BIS_fnc_endMissionServer]];</code> | |x1= <code>"SideScore" [[call]] [[BIS_fnc_endMissionServer]];</code> | ||
| [[BIS_fnc_endMission]], [[failMission]], [[forceEnd]], [[endMission]] | | [[BIS_fnc_endMission]], [[failMission]], [[forceEnd]], [[endMission]] | ||
| |= Multiplayer | | |= Multiplayer |
Revision as of 23:02, 17 January 2021
Description
- Description:
- Ends the mission properly for all players in a multiplayer environment.
- Execution:
- call
- Groups:
- Multiplayer
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