Description
- This is sub function for 'boat recovery' functionality.
Syntax
[] 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
[_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.
/*
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.
*/