Jump to content

Some advice about this piece of AI flight group logic please....


Recommended Posts

Posted

I'm quite new but have figured out the basics of using zones and trigger logic but I can't get this particular piece of logic working:

 

I want an AI flight to go to their waypoint 1 and then orbit there. Then if my 'player' unit gets within 3 miles of them, I want them to continue with their flight plan.

 

I've been trying to do it with a trigger zone around their waypoint 1 (where they are orbiting) but it's not working and not sure what I'm doing wrong.

 

Can anyone advise the simplest way of achieving this behaviour?

Posted

You need to put a stop condition to the orbit task that triggers with a flag. That is done in the orbit advanced action itself.

The flag would be set on, when part of player flight inside zone. This is done in the Triggers editor.

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 11 | Ryzen 9 7900X3D  | 64GB | GeForce RTX 4090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

  • Recently Browsing   0 members

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