Paladin1cd Posted September 4, 2021 Posted September 4, 2021 So I want to set up a call from AWACs for when planes violate certain airspace defined by a helicopter laid polygon. For example: Colt 1-1 enters the polygon and a message plays or is placed on the screen that says "You have violated no fly airspace. Please leave immediately." or some such. I'm not having luck finding the script that I think would do recognize the polygon and then play the message. Could someone help me out please? I think I've seen such a thing, just not finding it.
cfrag Posted September 5, 2021 Posted September 5, 2021 I'm a bit unclear on what you mean by the following: Helicopter laid polygon What is that? Is that a shape that is defined by a helicopter flying along it's vertices? How does that mechanic work in-game? Or is it a zone that follows a unit around? polygon Do you mean a DCS ME quad zone? Or any graph that is defined by an arbitrary number of vertex points? How have you implemented this? the script that would recognize Are you programming in Lua? If so, you'll have to implement your point in zone test yourself. For circular zones that it easy (distance to center is smaller than zone's radius), for quads it's a bit more involved (if you can insure that your poly is convex, you can use a simple 'left turn' or 'right turn' rule test. You may want to look into libraries like the excellent "Mist" (although I don't know if they support quad zones; I'd be surprised if they don't).
=475FG= Dawger Posted September 5, 2021 Posted September 5, 2021 Sounds like he is using a MOOSE A2A Dispatcher Border zone ( A late activation Helicopter route to for the zone) The answer is you need to duplicate the border using ME zones to trigger your message
Recommended Posts