EasyEB Posted February 27, 2017 Posted February 27, 2017 (edited) Hi. It's me. Again. Is it possible to make an AI ground attack aircraft start, take off, fly to and attack an enemy group of ground units that has been spawned dynamically (and can be anywhere on the map), when say flag 1 is true? I feel like it should be possible, but I don't know what is the best way to do it. Edited February 27, 2017 by EasyEB
MasterZelgadis Posted February 27, 2017 Posted February 27, 2017 Set its waypoints and attack task, then set it to "uncontrolled". Give it a "Start" task and make a trigger "AI Push Task" when the flag becomes true "Sieh nur, wie majestätisch du durch die Luft segelst. Wie ein Adler. Ein fetter Adler." http://www.space-view.net
EasyEB Posted February 27, 2017 Author Posted February 27, 2017 Thanks! So I got the script working (http://wiki.hoggit.us/view/DCS_task_attackGroup) but I can't seem to get attackQty working. I set attackQtyLimit = true and attackQty to 1 but the plane just keeps reattacking until the target group is dead. I tried expend = "ONE" aswell to no avail. I feel like I'm missing something.
ESAc_matador Posted March 1, 2017 Posted March 1, 2017 https://forums.eagle.ru/showthread.php?p=2713321 Try this script.
Recommended Posts