Jump to content

Recommended Posts

Posted

Hello all.  I'm trying to develop a mission with a section of fighters providing close escort to a section of attack aircraft.  I am using the "follow" enroute task and have laid out a series of detect and engage circles along the route to control the corridor in which the escort may engage hostile aircraft.  By default, the escorts simply follow the attack aircraft, but I've included a radio button to command the escort to search and engage (this gives me the option of having another section take care of the hostile aircraft and keeping the close escort close to the attack aircraft if preferred).  No problems committing the escorts using the radio button, and I can even turn the search and engage task back off using another radio button (so that they can return to formation).  I'm using flag 1 ON to start the detect and engage task, and flag 2 to turn OFF the detect and engage task and turn OFF flag 1.  Now the tricky part? 1. Is there a way to allow me to recommit the escort once I've commanded them to stop the search and engage function (i.e. turn flag 1 back ON)?  I'm thinking maybe a switched condition, but I'm not sure how (or even if it's possible) to implement this.  Ideally I'd like to be able to turn the search and engage function ON and OFF multiple times in a single mission.  Any help here would be appreciated!

F-18C/F-14/P-51/F-86 Pico4/Quest2 VR with Intel Core i9 3.0GHZ 24 -Core, 16GB, GeForce RTX 4070 ti

Posted (edited)

Create the TRIGGERED ACTIONS for search and engage on and off.

Then when you want, use  SET/PUSH TASK and choose the appropriate one.

Edited by Elphaba
Posted

I've done something similar creating radio management triggers for wingmen. Instead of controlling attack tasks I had flags setup to make wingmen change radio channels.

You can change a flag setting as many times as you want throughout a mission. You just need to make sure the corresponding trigger is setup to read or use the flag more than once. So ONCE triggers out out. Switched condition or Continuous action should both work as they check conditions more than one time.

Having the mission uploaded here would allow us to see exactly what you're trying to do and provide more specific advice.

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted

Made a quick example mission with triggers.

Worked best using the STOP CONDITION > Is User Flag False to get the attack to stop.

AI_Commands.miz

Awaiting: DCS F-15C

Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

 

Posted

Thanks guys - I'll check it out.  I guess my main question is how to force a flag off that was set to true, then allow me to subsequently set it as true again.  Basically to go back and forth with the flags so I can better control my close escort.  

F-18C/F-14/P-51/F-86 Pico4/Quest2 VR with Intel Core i9 3.0GHZ 24 -Core, 16GB, GeForce RTX 4070 ti

Posted
14 minutes ago, 2circle said:

Thanks guys - I'll check it out.  I guess my main question is how to force a flag off that was set to true, then allow me to subsequently set it as true again.  Basically to go back and forth with the flags so I can better control my close escort.  

Switched Condition trigger should work for flag.  Above advice is good for what the flag should control.

  • Like 1
  • Recently Browsing   0 members

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