2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2019-04-25 18:31:36 +00:00
|
|
|
/*
|
|
|
|
* Author: BaerMitUmlaut
|
|
|
|
* Removes FRIES from helicopter.
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: The helicopter <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* None
|
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* [_vehicle] call ace_fastroping_fnc_unequipFRIES
|
|
|
|
*
|
|
|
|
* Public: Yes
|
|
|
|
*/
|
2020-06-14 19:30:28 +00:00
|
|
|
|
2019-04-25 18:31:36 +00:00
|
|
|
params ["_vehicle"];
|
|
|
|
|
|
|
|
deleteVehicle (_vehicle getVariable [QGVAR(FRIES), objNull]);
|
|
|
|
_vehicle setVariable [QGVAR(FRIES), nil, true];
|
|
|
|
|
2021-02-27 17:05:05 +00:00
|
|
|
if (_vehicle getVariable [QGVAR(deployedRopes), []] isNotEqualTo []) then {
|
2019-04-25 18:31:36 +00:00
|
|
|
[_vehicle] call FUNC(cutRopes);
|
|
|
|
};
|