Jump to content

Recommended Posts

Posted (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 closed

Weapons Test.miz

Edited by Winfield_Gold
Posted (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 by AdawgPHL

F99th Wizard #56

  • 6 years later...
  • Recently Browsing   0 members

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