//avanti script
//point6 is the detpack route to the church cap point
//point7 & 5 keeps track of who is attacking-do not use on a waypoint ingame available = attacking

on_start
	{
		blue_available_point1		
		blue_available_point5	
		blue_available_point7		
		red_available_point1		
	}

on_msg(#italy_you_secure_cp1)
	{
		blue_notavailable_point1
		blue_available_point2		
		red_notavailable_point1
		red_available_point2		
	}

on_msg(#italy_you_secure_cp2)
	{		
		blue_notavailable_point2
		blue_available_point3		
		red_notavailable_point2
		red_available_point3		
	}

on_msg(#italy_you_secure_cp3)
	{		
		blue_notavailable_point3
		blue_available_point4		
		red_notavailable_point3
		red_available_point4
		if_blue_point7
			{
				red_notavailable_point6
				blue_available_point6
			}
	}

on_msg(#italy_you_secure_cp3)
	{
		blue_notavailable_point1
		blue_notavailable_point2
		blue_notavailable_point3
		blue_available_point4
		red_notavailable_point1
		red_notavailable_point2
		red_notavailable_point3
		red_available_point4
		if_red_point7
			{
				red_available_point6
				blue_notavailable_point6
			}
	}

on_msg(#italy_endround_win)
	{
		blue_available_point1
		blue_notavailable_point2
		blue_notavailable_point3
		blue_notavailable_point4
		blue_notavailable_point6		
		blue_notavailable_point8
		red_available_point1
		red_notavailable_point2
		red_notavailable_point3
		red_notavailable_point4	
		red_notavailable_point6			
		red_notavailable_point8		
	}

on_msg(#italy_endround_win)
	{		
		if_blue_point7
			{
				red_available_point5
				blue_notavailable_point5
				blue_notavailable_point7
			}
	}

on_msg(#italy_endround_win)
	{		
		if_red_point7
			{
				blue_available_point5
				red_notavailable_point5				
				red_notavailable_point7
			}
	}

on_msg(#italy_endround_win)
	{		
		if_red_point5
			{	
				red_available_point7							
				blue_notavailable_point7
				blue_notavailable_point5
			}
	}

on_msg(#italy_endround_win)
	{		
		if_blue_point5
			{	
				blue_available_point7
				red_notavailable_point5			
				red_notavailable_point7				
			}
	}

on_msg(#italy_hole_text)
	{
		if_blue_point7
			{
				red_notavailable_point8
				blue_available_point8
				blue_notavailable_point6
			}		
	}

on_msg(#italy_hole_text)
	{		
		if_red_point7
			{
				red_available_point8
				red_notavailable_point6
				blue_notavailable_point8
			}
	}