Jump to content

Recommended Posts

Posted

This seems like it should be a fairly easy thing to do but I can't work it out. What I want to do is when I fly near to an airfield an AI heli takes off and follows a route. The mission I have made so far has a friendly AI heli take off from one airfield and land at another. I want the AI to wait at the second airfield until I get near before taking off again. How do I do this in simply?

Posted

Ok, so here's how you do it:

 

1°) On your helicopter, create an Advanced Waypoint Action Perform Task => Land with a STOP CONDITION Is User Flag {your_preferred_flag_value}

 

2°) Create a Trigger Zone around the airfield and then make a trigger like that:

ONCE => UNIT IN ZONE(your_unit_name, your_trigger_zone) => FLAG ON(your_flag_value)

 

This will set you flag as true when your aircraft enters the zone, which will stop the Land action of the helo, thus making it takeoff again.

 

Also, depending on your exact needs, you may want to use UNIT IN ZONE, ALL OF GROUP IN ZONE or PART OF GROUP IN ZONE, but if you only have one aircraft in your groupe, they will be the same.

 

Hope it helps

  • Recently Browsing   0 members

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