Arma 3 Scripting

Function in Event Handlers

BIS_fnc_onEnd

Also available as Markdown and JSON, or read the original wiki page.

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;

See also

Event Scripts · Arma 3: Mission Event Handlers