Jump to content

Stopping AI Once It Is Activated


doodenkoff

Recommended Posts

I have a small mission where a helicopter is performing a medevac flight into a combat zone. Lots of tracers and booms and noise....fun.

 

I use a switched condition to activate the AI combat groups. It is triggered when the helo group leaves a zone centered on the FARP. Works like a charm; the helo exits the zone and a little war commences.

 

I'm going nuts though trying to figure out a strategy to stop the AI once the pickup is complete and the helicopter gets a sufficient distance away from the LZ. I thought the switched condition would do it. When the helo re-enters the zone, the AI would de-activate. But that ain't happening.

 

Got any hints?

Win 10 | i7 4770 @ 3.5GHz | 32GB DDR3 | 6 GB GTX1060

Link to comment
Share on other sites

I haven't played with Switched Condition in a while.

 

Something else that should work:

 

Once > Unit in Zone > Activate Groups & Flag 1 On

 

Once > Flag 1 On and Unit out of Zone > Deactivate Groups

 

So basically the helicopter enters zone, this turns on the AAA fire and Flag 1. Then when the helicopter is out of Zone after Flag 1 is on, the AI is turned off, set to hold fire, despawned, etc.

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

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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