Adalla Posted April 17, 2024 Posted April 17, 2024 So I'm trying to setup a ship that will make turns to evade when being bombed (WW2). The only way I figured so far, is to setup a moving trigger zone on the ship, then when "part of coalition is in zone", it will trigger AI Task push for the ship to go to a new Waypoint in opposite direction of the original way point. I also set a Flag. Then, I setup a second trigger, "time since flag" to trigger a turn back to original waypoint in opposite direction. This causes the ship to start turning when enemy aircraft approaches, and turn back after 45 seconds so it's a nice evasive maneuver. At the end, i turn off the Flag so it can reset. Problem is, I cant get it to do this more than once. After it resumes on the original waypoint heading, and when aircraft comes back into the trigger zone, nothing happens. How do I make this repeat? I have tried "repetitive action" as well as "switched condition", but none seem to reset the trigger.
Exorcet Posted April 18, 2024 Posted April 18, 2024 Use switched condition triggers instead of Once. See this discussion for more information: 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
rob10 Posted April 18, 2024 Posted April 18, 2024 If you can post a copy of your .miz file it will be easier for people to make suggestions on how to make it do what you want. Chances are it's something simple. 1
Adalla Posted April 20, 2024 Author Posted April 20, 2024 Managed to make it work. I believe I was making a mistake with the flag usage and the stop conditions. I removed the stop conditions and used only flags and "time more" to switch to new waypoints. So now when attacking a WWII carrier, when you begin the bomb or torp run, it does S-turns and evades, making is 10x harder to hit.
Recommended Posts