# File generated by Wizard 2.9.0 on Dec 22, 2024.

processor boundsAreaPatrol WSF_SCRIPT_PROCESSOR 
   execute at_time 50 sec relative 
      WsfZone zone = zone.FindZone("tw");
      Array<WsfGeoPoint> boundsPoints = zone.PolyPoints();
      WsfRoute route;
      WsfRoute r1 = route.Create("lx");
      foreach(WsfGeoPoint vertex in boundsPoints)
      {
         vertex.SetAltitudeHAE(10000);
         r1.Append(vertex,1500);
      }
      r1.Waypoint(0).SetLabel("start");
      r1.Waypoint(r1.Size() - 1).SetGoToLabel("start");
      PLATFORM.FollowRoute(r1);
   end_execute
end_processor