Description
Register code to be executed after mission end.
Note
Arma 3: Replaced by "Ended" mission event handler.
This function now exists only because of backward compatibility.
Syntax
argument call BIS_fnc_onEnd
Parameters:
Returns: Number - index of onEnd code
Examples
Example 1
private _onEndIndex = { player addRating 10000; } call BIS_fnc_onEnd;
Example 2
private _onEndIndex = [{ { _x addRating 10000; } forEach _this; }, units group player] call BIS_fnc_onEnd;