VN_fnc_endMissionServer
VN_fnc_endMissionServer
Ends mission for all clients on multiplayer server.
Syntax
[_endName,_win,_fade,_playMusic,_cancelTasks] call VN_fnc_endMissionServer;Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
_endName |
String | "end1" |
CfgDebriefing class which is used as the mission ending template. |
_win |
Boolean | true |
Win/Loss. |
_fade |
Boolean / Number | true |
NUMBER to fade to black in X seconds, BOOL to do special outro. |
_playMusic |
Boolean | true |
BOOL to play music. |
_cancelTasks |
Boolean | true |
BOOL to cancel tasks that haven’t been completed. |
Return value
Boolean - Function reached the end
Examples
["end1"] call vn_fnc_endMissionServer;