Skip to content
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

ParameterTypeDefaultDescription
_endName String"end1" CfgDebriefing class which is used as the mission ending template.
_win Booleantrue Win/Loss.
_fade Boolean / Numbertrue NUMBER to fade to black in X seconds, BOOL to do special outro.
_playMusic Booleantrue BOOL to play music.
_cancelTasks Booleantrue BOOL to cancel tasks that haven’t been completed.

Return value

Boolean - Function reached the end

Examples

["end1"] call vn_fnc_endMissionServer;

Documented by Ethan Johnson.