BIS fnc endMissionServer: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Properly formatted page) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Ends the mission properly for all players in a multiplayer environment|= Description | ||
____________________________________________________________________________________________ | |||
|end type call BIS_fnc_endMissionServer |= Syntax | |||
|p1= end type: [[String]]<br> | |||
Class name of ending defined in CfgDebriefing<br> | |||
Can be custom or one of dynamically calculated ones:<br> | |||
"Won" - show "MISSION COMPLETED" to everyone<br> | |||
"Lost" - show "MISSION FAILED" to everyone<br> | |||
"SideScore" - show "YOUR SIDE WON" to side with largest score<br> | |||
"GroupScore" - show "YOUR GROUP WON" to group with largest score<br> | |||
"PlayerScore" - show "YOUR WON" to player with largest score<br> | |||
|= PARAMETER1 | |||
| [[BOOL]]|= RETURNVALUE | |||
< | |x1= <code>"SideScore" call BIS_fnc_endMissionServer</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[BIS_fnc_endMission]], [[failMission]], [[forceEnd]], [[endMission]] |= SEEALSO | ||
| | | |= MPBEHAVIOUR | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} | ||
<h3 style= | <h3 style='display:none'>Notes</h3> | ||
<dl class= | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
Line 49: | Line 41: | ||
</dl> | </dl> | ||
<h3 style= | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category: | [[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:{{ | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 10:52, 30 May 2016
Description
- Description:
- Ends the mission properly for all players in a multiplayer environment
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- end type call BIS_fnc_endMissionServer
- Parameters:
- end type: String
Class name of ending defined in CfgDebriefing
Can be custom or one of dynamically calculated ones:
"Won" - show "MISSION COMPLETED" to everyone
"Lost" - 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 "YOUR WON" to player with largest score - Return Value:
- BOOL
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