Wood Posted June 16, 2020 Posted June 16, 2020 Hey all. Not sure if this has ever been asked before. I’m sure it has but I can’t seem to find anything in it. With all the scripts out there is there a script or a way lay out triggers that will have a hostile force disengage without any shots been fired from either side? Example: an aircraft gets intercepted and escorted out of the area or a battle group entering into a wrong area and been made to turn around. Cheers Wood Windows 10, Intel i7-6700 CPU @3.40GHz, 32GB ram , GTX 4060Ti
ChillNG Posted June 16, 2020 Posted June 16, 2020 (edited) Can be done quite simply with triggers providing you don't want the escorting opposing aircraft to be in tight formation but rather shadow each other. Add tasks to each aircraft such as ROE weapons hold, no reaction to threat and switch waypoint. You do this in the aircraft menu...think it's the tab over from loadout/fuel. Create a zone, lets say it has a radius of 10nm. Now create a trigger with the condition UNIT1 in moving zone ZONE NAME - attached to UNIT 2...the trigger actions will be AI TASK PUSH for each of the following; ROE, reaction to threat and waypoint switch (so you'll have 6 actions in total, 3 for each aircraft. Now when unit 1 gets within 10nm of unit 2, then both aircraft go weps hold, stop trying to evade and both immediately navigate to the stated waypoints, if you place the waypoints in similar positions and use the right altitudes/speeds then it will look like one aircraft is escorting the other, although the exact position will vary each time and it won't be a tight formation by any means. Obviously depending on weapons loadout etc the ranges/time at which weapons hold applies will vary, but by using UNIT IN MOVING ZONE you can trigger any of the available actions based on proximity. You just need to make sure the aircraft will meet at some point, this can be done for AI through smart waypoint design or by allowing the AI to start to attack one another but preventing any missiles being fired by restricting the loadout to short range missiles and having a bigger zone that will trigger weps hold before they get in range. Hope that makes sense, I'm sure there's a fancier way with scripts but this way will only take about 2 mins to setup once you know how. Edited June 16, 2020 by ChillNG
Wood Posted June 17, 2020 Author Posted June 17, 2020 Hey thanks for this. I believe there is something wrong in the ME when I choose AI TASK PUSH. Gives me no options to choose from. Cheers Wood Windows 10, Intel i7-6700 CPU @3.40GHz, 32GB ram , GTX 4060Ti
ChillNG Posted June 17, 2020 Posted June 17, 2020 Put together a quick example and took some screenshots...might be that you haven't created the tasks first. You need the triggered actions tab located on each units menu: https://forums.eagle.ru/attachment.php?attachmentid=240077&stc=1&d=1592376008 Next click Add: https://forums.eagle.ru/attachment.php?attachmentid=240078&stc=1&d=1592376008 This gives a list of categories, you want the options and commands categories, the AI tasks I mentioned are located in there: https://forums.eagle.ru/attachment.php?attachmentid=240080&stc=1&d=1592376008 https://forums.eagle.ru/attachment.php?attachmentid=240082&stc=1&d=1592376008 This will give you a list under triggered actions like this: https://forums.eagle.ru/attachment.php?attachmentid=240081&stc=1&d=1592376008 Now when you go to the AI Task push menu in the trigger actions you should see the tasks: https://forums.eagle.ru/attachment.php?attachmentid=240079&stc=1&d=1592376008 Hope that works for you!
Wood Posted June 17, 2020 Author Posted June 17, 2020 Hey Thanks a million ChillNG. Very much appreciated. Cheers Wood Windows 10, Intel i7-6700 CPU @3.40GHz, 32GB ram , GTX 4060Ti
Recommended Posts