/*
	FILE: fnc_canUnFold.sqf

	Name: tbd_m119_m119_fnc_canUnFold

	Author(s):
		ilbinek

	Description:
		Check if the M119 can be unfolded

	Parameters:
		_arty	- object	- M119 to be checked

	Returns:
		bool - true if the M119 can be unfolded, false otherwise
	
	Examples:
		> [_arty] call tbd_m119_m119_fnc_canUnFold;

	Public:
		No
*/

#include "..\script_component.hpp"

params ["_arty"];

if !(_arty getVariable [QGVAR(folded), false]) exitWith {false};
if (_arty getVariable [QGVAR(towed), false]) exitWith {false};

true
