Arma 3 Scripting

BIS_fnc_onEnd

  • Arma 3 v0.50
  • First in Take On Helicopters v1.00

Function · Markdown · JSON · 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