BIS fnc endMissionServer: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 42: | Line 42: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:Functions|{{uc:endMissionServer}}]] | [[Category:Functions|{{uc:endMissionServer}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:endMissionServer}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:endMissionServer}}]] |
Revision as of 09:06, 10 October 2020
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