BIS fnc endMissionServer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Properly formatted page)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Ends the mission properly for all players in a multiplayer environment|= Description
____________________________________________________________________________________________
 
|end type call BIS_fnc_endMissionServer |= Syntax


Description:
|p1= end type: [[String]]<br>
End the mission on all computers.
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


Parameter(s):
| [[BOOL]]|= RETURNVALUE
0: STRING - end type. 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


Returns:
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <code>"SideScore" call BIS_fnc_endMissionServer</code>|= EXAMPLE1
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_endMissionServer]]; --> |= Syntax
| [[BIS_fnc_endMission]], [[failMission]], [[forceEnd]], [[endMission]] |= SEEALSO
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=  
| |= MPBEHAVIOUR
____________________________________________________________________________________________
____________________________________________________________________________________________
| |= See also
}}
}}


<h3 style="display:none">Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


Line 49: Line 41:
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:endMissionServer}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Functions|{{uc:endMissionServer}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:endMissionServer}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 10:52, 30 May 2016

Hover & click on the images for description

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

See also:
BIS_fnc_endMissionfailMissionforceEndendMission

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