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


if (isNull player) exitwith {};

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;

sleep 0.1;
if battery_1 then
{
	if not (weapon1 == "mlrs") then
	{
		action1 = player addaction ["Immediate", "artillery_ssp\mission\Mission_im.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Suppression", "artillery_ssp\mission\Mission_tm.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	}
	else
	{
		hintsilent "Unable with this Battery";
		sleep 1;
		main_menu = [] execvm "artillery_ssp\menu\support.sqf";
	};
};

if battery_2 then
{
	if not (weapon2 == "mlrs") then
	{
		action1 = player addaction ["Immediate", "artillery_ssp\mission\Mission_im.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Suppression", "artillery_ssp\mission\Mission_tm.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	}
	else
	{
		hintsilent "Unable with this Battery";
		sleep 1;
		main_menu = [] execvm "artillery_ssp\menu\support.sqf";
	};
};

if battery_3 then
{
	if not (weapon3 == "mlrs") then
	{
		action1 = player addaction ["Immediate", "artillery_ssp\mission\Mission_im.sqf", [], 1, false, false, "", ""];
		action2 = player addaction ["Suppression", "artillery_ssp\mission\Mission_tm.sqf", [], 1, false, false, "", ""];
		action3 = player addaction ["Back", "artillery_ssp\menu\support.sqf", [], 1, false, false, "", ""];
	}
	else
	{
		hintsilent "Unable with this Battery";
		sleep 1;
		main_menu = [] execvm "artillery_ssp\menu\support.sqf";
	};
};