Arma 3 Scripting

BIS_fnc_boatRack01CanProgressAction

  • Arma 3 v1.84

Function · Markdown · JSON · original wiki page

Description

Syntax

[] call BIS_fnc_boatRack01CanProgressAction

Parameters:

Returns: true if all conditions are met during the process of "Hold Action", can continue with action Check to allow continue with "Hold Action".

Examples

Example 1

[_target,_boatRack] call BIS_fnc_boatRack01CanProgressAction;

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

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

Example:
    [_target,_boatRack] call BIS_fnc_boatRack01CanProgressAction;

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 during the process of "Hold Action", can continue with action
Result: Check to allow continue with "Hold Action".
*/