---
name: "BIS_fnc_boatRack01Init"
type: function
status: ok
groups: ["Boat Recovery"]
arma3_since: "1.84"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_boatRack01Init
revid: 273973
updated: 2021-06-13T01:14:22Z
---

# BIS_fnc_boatRack01Init

*Function · Boat Recovery · Arma 3 v1.84*

## Description

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

## Syntax

```sqf
[] call BIS_fnc_boatRack01Init
```

**Parameters:**

- `mode` — 0: (Scalar)
- `param0` — 0: boat rack object
  and
  other parameters from configuration

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

## Examples

### Example 1

```sqf
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.

```sqf
/*
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.
*/
```

<sub>Source: [BI Community Wiki — BIS fnc boatRack01Init](https://community.bistudio.com/wiki/BIS_fnc_boatRack01Init) (revision 273973).</sub>
