#include "script_component.hpp" /* * Author: BaerMitUmlaut * Checks if the unit can cut deployed ropes. * * Arguments: * 0: The helicopter itself * * Return Value: * Able to cut ropes * * Example: * [_vehicle] call ace_fastroping_fnc_canCutRopes * * Public: No */ params ["_vehicle"]; private _deployedRopes = _vehicle getVariable [QGVAR(deployedRopes), []]; (_deployedRopes isNotEqualTo []) && {{(_x select 5)} count (_deployedRopes) == 0}