
/*
	FILE: fnc_canOpenBreech.sqf

	Name: tbd_m119_m119_fnc_canOpenBreech

	Author(s):
		ilbinek

	Description:
		Checks if the M119 can open the breech

	Parameters:
		_arty	- object	- M119 to be canCloseBreeched

	Returns:
		bool - true if the breech can be opened, false otherwise
	
	Examples:
		> [_arty] call tbd_m119_m119_fnc_canOpenBreech;

	Public:
		Yes
*/


#include "..\script_component.hpp"

params ["_arty"];

private _ret = (!(_arty getVariable [QGVAR(breech), false]) && _arty animationSourcePhase "open_breech_source" == 0);
_ret
