BIS fnc endMissionServer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\{\{( *)Warning( *)\|" to "{{$1Feature$2|$Warning$2|")
Line 10: Line 10:


| Ends the mission properly for all players in a multiplayer environment.
| Ends the mission properly for all players in a multiplayer environment.
{{Warning|This function is somewhat deprecated. You can [[remoteExec]] [[BIS_fnc_endMission]] instead.}}
{{Feature|$Warning|This function is somewhat deprecated. You can [[remoteExec]] [[BIS_fnc_endMission]] instead.}}


| endType call [[BIS_fnc_endMissionServer]]
| endType call [[BIS_fnc_endMissionServer]]

Revision as of 01:21, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Multiplayer

Syntax

Syntax:
Syntax needed
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:
Return value needed

Examples

Example 1:
"SideScore" call BIS_fnc_endMissionServer;

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