BIS_fnc_onLoad
- Arma 3 v0.50
- First in Take On Helicopters v1.00
Function · Markdown · JSON · original wiki page
Description
Register code to be executed after a mission load (from a save, for example).
Important
Replaced by "loaded" mission event handler.
This function now exists only because of backward compatibility
Syntax
parameter call BIS_fnc_onLoad
Parameters:
Returns: Number - index of onLoad code
Examples
Example 1
private _codeIndex = { hint "Welcome back!"; } call BIS_fnc_onLoad;
Example 2
0 call BIS_fnc_onLoad; // removes code with index 0