Jump to content

Recommended Posts

Posted

So I have a trigger around an airbase to detect any enemy units coming in. But I wanted to have it so if the enemy aircraft flies below 300 AGL they are not detected. Is there a way to say if any flying enemy forces are below 300 aGL not to detect them? Or do I have specificy each aircraft that could be in this area?

Coder - Oculus Rift Guy - Court Jester

Posted

The best way would be to position the EWR and plan the AI routes to use terrain masking.

 

Unfortunately most of the airfields are in relatively flat areas with good coverage.

 

Sochi can be approached from several directions at low alt that are well masked until almost on the airfield.

Posted

You could use a combination of Unit In Zone and Unit's Altitude Lower Than or Higher Than, but you would need to specify each enemy unit. Yes, to answer your question.

 

Now,,, you could use the Mist function to detect any plane in a zone and specify a spherical zone type over the airfield. Of course, it won't be flat on top.

mist.flagFunc.units_in_zones{ 
   units = {'[blue][plane]'}, 
   zones = {'Test Zone'}, 
   flag = 50207, 
   zone_type = 'sphere',
   toggle = true,	
}

 

WC

Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...