Arma 3 Scripting

Function in Boat Recovery

BIS_fnc_boatRack01Init

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

Description

Syntax

[] call BIS_fnc_boatRack01Init

Parameters:

Returns: nothing Two triggers are added near object to allow user to interact with feature.

Examples

Example 1

class Eventhandlers
{
    init = "_this call BIS_fnc_BoatRack01Init;";
};

Function header

The comment at the top of the function's file in the game; this page's description, params, returns, examples come from it.

/*
Author: Bravo Zero One development
- John_Spartan

Description:
- This is main function for 'boat recovery' functionality.

Execution:
- Call from assets init EH.

Example:
    class Eventhandlers
    {
        init = "_this call BIS_fnc_BoatRack01Init;";
    };

Required:
    Object (boat rack) must have vehicle in vehicle behavior configured (https://community.bistudio.com/wiki/Arma_3_Vehicle_in_Vehicle_Transport).

Parameter(s):
    _this select 0: mode (Scalar)
    0: boat rack object
    and
    other parameters from configuration

Returns: nothing
Result: Two triggers are added near object to allow user to interact with feature.
*/