---
name: "BIS_fnc_boatRack01CanExetuteAction"
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_boatRack01CanExetuteAction
revid: 286073
updated: 2021-06-20T17:25:17Z
---

# BIS_fnc_boatRack01CanExetuteAction

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

## Description

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

## Syntax

```sqf
[] call BIS_fnc_boatRack01CanExetuteAction
```

**Parameters:**

- `mode` — 0: (Scalar)
- `param0` — 0: Object (boat)
- `param1` — 1: Object (boat rack)

**Returns:** true if all conditions are met to display the "Hold Action"
Check to show "Hold Action" to player.

## Examples

### Example 1

```sqf
[_target,_boatRack] call BIS_fnc_boatRack01CanExetuteAction;
```

## 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 sub function for 'boat recovery' functionality.

Execution:
- Call from script that invokes the "Hold Action" for boat recovery.

Example:
    [_target,_boatRack] call BIS_fnc_boatRack01CanExetuteAction;

Required:
    Object (boat)
    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: Object (boat)
    1: Object (boat rack)

Returns: true if all conditions are met to display the "Hold Action"
Result: Check to show "Hold Action" to player.
*/
```

<sub>Source: [BI Community Wiki — BIS fnc boatRack01CanExetuteAction](https://community.bistudio.com/wiki/BIS_fnc_boatRack01CanExetuteAction) (revision 286073).</sub>
