Aviox93 1 Posted April 24 Hi ! So for my mission I need enemy planes to attack ground troops in a certain area. With waypoints I made them take off then I put a destroy waypoint but they just fly around without attacking me or my soldiers. I would like to point out that I did put air to surface missiles on enemy planes as well as bombs. Thanks! Share this post Link to post Share on other sites
Saltoperator 3 Posted April 25 Unless you want the planes to be an active target for you and your units in your scenario, I have two solutions for you: Use CAS Module, select your preferred aircraft and sync it to a trigger. When the trigger is activated, the CAS will spawn, attack and fly away. If you want the plane(s) to attack the same way and at the same place each time, use unitCapture and unitPlay for both movement data and firing data Don't overruse unitCapture, as it will make your mission folder very large in file size. The upside to this method is that the planes will remain in the scenario as AI units after unitPlay is completed, making them targetable for you and your units By using one of the methods above, you are guaranteed that the planes will attack no matter what. Share this post Link to post Share on other sites
redarmy 422 Posted April 25 17 hours ago, Aviox93 said: Hi ! So for my mission I need enemy planes to attack ground troops in a certain area. With waypoints I made them take off then I put a destroy waypoint but they just fly around without attacking me or my soldiers. I would like to point out that I did put air to surface missiles on enemy planes as well as bombs. Thanks! Learn what the "Guard" waypoint does. it will become your best friend. https://community.bohemia.net/wiki/Waypoints With Guard,any "known" targets will be shared with Guard groups,and they will move to attack them. Keep in mind, jets are designed for vehicle tasks usually, And AI will always prioritise them over infantry. Really it depends on your type of scenario..is this a dynamic mission or heavily premade with waypoints,and specific unit positions / groups etc? Share this post Link to post Share on other sites
Aviox93 1 Posted April 25 2 hours ago, Saltoperator said: Unless you want the planes to be an active target for you and your units in your scenario, I have two solutions for you: Use CAS Module, select your preferred aircraft and sync it to a trigger. When the trigger is activated, the CAS will spawn, attack and fly away. If you want the plane(s) to attack the same way and at the same place each time, use unitCapture and unitPlay for both movement data and firing data Don't overruse unitCapture, as it will make your mission folder very large in file size. The upside to this method is that the planes will remain in the scenario as AI units after unitPlay is completed, making them targetable for you and your units By using one of the methods above, you are guaranteed that the planes will attack no matter what. Hey thanks for your answer. But I don't want a random plane to appear from nowhere, shoot and disappear. I want the ai plane to patrol around an area and shoot at infantry when spotted. Share this post Link to post Share on other sites
Aviox93 1 Posted April 25 2 hours ago, redarmy said: Learn what the "Guard" waypoint does. it will become your best friend. https://community.bohemia.net/wiki/Waypoints With Guard,any "known" targets will be shared with Guard groups,and they will move to attack them. Keep in mind, jets are designed for vehicle tasks usually, And AI will always prioritise them over infantry. Really it depends on your type of scenario..is this a dynamic mission or heavily premade with waypoints,and specific unit positions / groups etc? Hey thanks for your answer. I didn't try the guard waypoint, I'll try it ! Yes the ai jets destroy my team vehicles really fast and that's good but they just fly around the infantry. My mission is a domination mission on a big map with multiple capture points and the player is fighting the ai. In my mission, I will also spawn tanks, vehicles, helis, planes, infantry etc... Share this post Link to post Share on other sites