Is there a way to stop this from happening?
Nope, not directly, they will engage regardless even if they can't actually fire anything at it.
Without regard to how much sense that makes, the work around is to play gimmicks with contact posture such that they are neutral inside the AAW zone in your example, and hostile outside of it, and that these two areas don't overlap much. If they are neutral the "engagement" will stop.
You can do this manually if you are the player, flipping them neutral and then back again later.
If you need to do this in an automated way or for the ai side I've approached it in the past in two ways, the first involves decent amount of scripting and a separate contact tracking system of my own. I'll skip focusing on it as its more than is technically needed and the second method is less scripting version of basically the same thing though a little less flexible.
That second one is basically setup 2 events (or sets of events). The first is an in-area trigger for each of the specific cruise missile types you are interested in and have them link to a set-to-neutral action, in the case presented the area can be that of the AAWZone\AAWprosecZone. Then in the second event (or set) you just have another in-area defined trigger that does the reverse of the first, in that it sets-to-hostile. In instances where there aren't more complications and your aaw in question is sort of the outer defensive ring it works ok, but in more complex scenes or situations it may create other undesired effects that you may need to test for, have to design around, or simply not use it and take another approach.
Pic to give you some idea.
In the pic the missiles traveled though the AAW being marked neutral so that the aaw aircraft ignored them, then as they pass into another area they get flagged hostile again so that the local air defense units will start engaging them, but since they're now outside the aaw those aircraft will ignore them.
The small amount of code attached for doing the switch-contact-posture that might save you some time (ChangeContactPosture_Uploaded_5027982.txt), consists of 2 global funcs, and sample action script that makes use of those.
edit: oops forgot that attachment.
< Message edited by KnightHawk75 -- 5/31/2021 3:46:09 AM >