//==========================================;
//					    ;
//	  Do not edit this file		    ;
//					    ;
//==========================================;


player removeaction action1;
player removeaction action2;
player removeaction action3;
player removeaction action4;
player removeaction action5;
player removeaction action6;
player removeaction action7;
player removeaction action8;
player removeaction action9;
player removeaction action10;
player removeaction action11;

if artillery_on then
{
	if (player in radio_group) then
	{
		if (playerside == west) then
		{
			if not (isnull battery1) then
			{
				action2 = player addaction [bat_menu1, "artillery_ssp\acquire\battery1.sqf", [], 1, false, false, "", ""];
			};
			if not (isnull battery2) then
			{
				action1 = player addaction [bat_menu2, "artillery_ssp\acquire\battery2.sqf", [], 1, false, false, "", ""];
			};
			if not (isnull battery3) then
			{
				action3 = player addaction [bat_menu3, "artillery_ssp\acquire\battery3.sqf", [], 1, false, false, "", ""];
			};
		};
//		if (playerside == east) then
//		{
//			if not (isnull battery1) then
//			{
//				action2 = player addaction [bat_menu4, "artillery_ssp\acquire\battery4.sqf", [], 1, false, false, "", ""];
//			};
//			if not (isnull battery2) then
//			{
//				action1 = player addaction [bat_menu5, "artillery_ssp\acquire\battery5.sqf", [], 1, false, false, "", ""];
//			};
//			if not (isnull battery3) then
//			{
//				action3 = player addaction [bat_menu6, "artillery_ssp\acquire\battery6.sqf", [], 1, false, false, "", ""];
//			};
//		};
	};
};


action4 = player addaction ["Close Menu", "artillery_ssp\menu\close.sqf", [], 1, false, true, "", ""];