Winfield_Gold Posted December 10, 2014 Posted December 10, 2014 (edited) I have read through this thread http://forums.eagle.ru/showthread.php?t=81101&highlight=ai+hold+waypoint+units+dead However, this works for ground units. There is no "hold" for air units. How would it be possible to set an AI chopper to hold at a waypoint until the enemy forces are cleared from a landing zone? I would say that the command "orbit" would have something to do with this, however after testing it a few times, I am not sure how set a trigger so that the AI helo continues to follow the flight path. The stop condition would either be an estimated time it would take to eliminate the enemy forces at the landing zone or via the a Lua predicate where the stop condition would be if 'unit' is destroyed. What would the script be for the lua predicate? has anyone else tried to have an AI helo hold at a waypoint then continue on after enemy units are destroyed? Example mission uploaded for testing. EDIT: Never mind, I figured it out, however those who wish to pull the mission apart can do so. I placed a trigger in front of the friendly ground units, once the grounds units enter the zone, the AI choppers leave waypoint 2 and continue to the drop point. Trigger can be changed to units in zone dead set flag 1 on and it works a treat. case closedWeapons Test.miz Edited December 10, 2014 by Winfield_Gold
AdawgPHL Posted December 11, 2014 Posted December 11, 2014 (edited) Set aircraft to orbit (in a circle) at specific waypoint with a stop condition Flag #x checked. in the triggers set flag #x to false and true when all units cleared. Thats worked for me... In this example a CH-47D holds away from a ZSU-23-4, until an A-10C takes it out. Then it lands next to the burning ZSU.AI Chopper Hold.miz Edited December 11, 2014 by AdawgPHL F99th Wizard #56
LoganTMT Posted February 2, 2021 Posted February 2, 2021 So I'm wanting a ground unit to move to position when the flag value is set correctly. How would I do this?
dark_wood Posted February 2, 2021 Posted February 2, 2021 MISSION START > no condition > Group "yourGroundGroup" AI off ONCE > flag1 is true > Group "yourGroundGroup" AI on
Recommended Posts