include_once  weapons\ssm\blue_cruise_missile.txt
execute at_time .001 sec absolute 
   for(int i = 0; i < WsfSimulation.PlatformCount();i+=1)
   {
      for(int j = 0;j<WsfSimulation.PlatformEntry(i).CommCount() ; j += 1)
      {
         if(WsfSimulation.PlatformEntry(i).CommEntry(j).IsValid())
         {
            for(int z = 0; z < WsfSimulation.PlatformEntry(i).CommCount();z += 1)
            {
               WsfComm trackComm = WsfSimulation.PlatformEntry(i).CommEntry(z);
               for(int j = 0; j < WsfSimulation.PlatformEntry(i).ProcessorCount();j += 1)
               {
                  string pLink = "internal_link " +WsfSimulation.PlatformEntry(i).ProcessorEntry(j).Name();
                  trackComm.ProcessInput(pLink);               
               }            
            }
         }
      }
   }
  # WsfSimulation.FindPlatform("").ProcessInput("command_chain red_chain jidi");
end_execute
include_once  platforms/B-1B.txt
include_once platforms/KC-135.txt
include_once processors/patrol_fuel.txt
#include_once  platforms/B-21.txt
#include_once  platforms/B-2A.txt
#include_once  platforms/B-52.txt
#include_once  platforms/B-1B1.txt
#include_once  platforms/B-2A1.txt
#include_once platforms/F-22.txt
zone JY01
   polygonal
   maximum_altitude 9000 m
   lat_lon
   point 28:49:00.00n 139:59:00.00e 
   point 28:21:59.68n 140:39:58.72e
   point 27:54:07.35n 140:13:47.20e
   point 28:22:54.16n 139:36:57.36e
   fill_color blue
   line_color blue
end_zone
platform UCAV_1 B-1B 
   heading -30 deg
   position 16:30:52.47n 146:41:09.33e altitude 1000 m 
   
   add processor state sta
      off
      script_variables          
         PointOrName1 = "tw";
         tankerName = "yy20_1";
      end_script_variables
   end_processor
   execute at_time 1 min absolute 
    PLATFORM.Processor("state").TurnOn(); 
   end_execute 
   
end_platform

platform UCAV_2 B-1B 
   heading -30 deg
   position 16:29:52.96n 146:41:57.89e altitude 1000 m 
   
   add processor state sta
      off
      script_variables          
         PointOrName1 = "tw";
         tankerName = "yy20_2";
      end_script_variables
   end_processor
   execute at_time 1 min absolute 
    PLATFORM.Processor("state").TurnOn();  
   end_execute 
     
end_platform

platform UCAV_3 B-1B 
   heading -30 deg
   position 16:29:03.07n 146:40:19.86e altitude 1000 m 
   
   add processor state sta
      off
      script_variables          
         PointOrName1 = "tw";
         tankerName = "yy20_3";
      end_script_variables
   end_processor
   execute at_time 1 min absolute 
    PLATFORM.Processor("state").TurnOn();  
   end_execute 
     
end_platform

platform UCAV_4 B-1B 
   heading -30 deg
   position 16:28:36.43n 146:41:38.11e altitude 1000 m 
   
   add processor state sta
      off
      script_variables          
         PointOrName1 = "tw";
         tankerName = "yy20_4";
      end_script_variables
   end_processor
   execute at_time 1 min absolute 
    PLATFORM.Processor("state").TurnOn();  
   end_execute 
     
end_platform



platform yy20_1 YY20
   icon kc-135
   side blue
   heading 150 deg
   position 32:01:00n 130:49:00e
   add processor jy bs_fueling
      off
   end_processor
   execute at_time 1 sec absolute   
    PLATFORM.Processor("jy").TurnOn();  
   end_execute

end_platform


platform yy20_2 YY20
   icon kc-135
   side blue
   heading 150 deg
   position 31:43:54.96n 130:59:34.47e
   add processor jy bs_fueling
      off
   end_processor
   execute at_time 1 sec absolute   
    PLATFORM.Processor("jy").TurnOn();  
   end_execute

end_platform

platform yy20_3 YY20
   icon kc-135
   side blue
   heading 150 deg
   position 31:43:43.55n 130:59:04.81e
   add processor jy bs_fueling
      off
   end_processor
   execute at_time 1 sec absolute   
    PLATFORM.Processor("jy").TurnOn();  
   end_execute

end_platform

platform yy20_4 YY20
   icon kc-135
   side blue
   heading 150 deg
   position 31:44:10.23n 130:59:04.28e
   add processor jy bs_fueling
      off
   end_processor
   execute at_time 1 sec absolute   
    PLATFORM.Processor("jy").TurnOn();  
   end_execute

end_platform

include_once platforms/BSHIP.txt
platform shipblue BSHIP
   side blue
   heading -30 deg
   position 16:16:56.40n 146:53:49.75e
end_platform