2015-09-16 21:01:01 +00:00
|
|
|
/*
|
|
|
|
* Author: BaerMitUmlaut
|
|
|
|
* Checks if the unit can cut deployed ropes.
|
|
|
|
*
|
|
|
|
* Arguments:
|
2015-12-01 19:48:20 +00:00
|
|
|
* 0: The helicopter itself <OBJECT>
|
2015-09-16 21:01:01 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* Able to cut ropes <BOOL>
|
|
|
|
*
|
|
|
|
* Example:
|
2015-12-14 20:50:56 +00:00
|
|
|
* [_vehicle] call ace_fastroping_fnc_canCutRopes
|
2015-09-16 21:01:01 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "script_component.hpp"
|
2015-12-01 19:48:20 +00:00
|
|
|
params ["_vehicle"];
|
2015-09-16 21:01:01 +00:00
|
|
|
|
2015-12-01 19:48:20 +00:00
|
|
|
private _deployedRopes = _vehicle getVariable [QGVAR(deployedRopes), []];
|
2015-11-30 17:35:34 +00:00
|
|
|
|
|
|
|
!(_deployedRopes isEqualTo [])
|