Hi all, I'm trying to make a mission where an attack plane is holding between 2 waypoints, and then going to a third waypoints only if enemy units enter the trigger area, then when area clear return to hold.
So, I created a waypoint 1 with the perform command: "switch to waypoint" 0 (for the holding part), and a waypoint 2 where the enemy have to be destroyed.
I also created a triggered action: switch to waypoint 2, activated when enemies enter the trigger zone.
My problem is as soon as the trigger is activated, instead of performing the CAS action in the trigger area, the plane just land at the nearest airport. Before the trigger is activated, the plane continue holding normally between the 2 waypoints.
I tried various combinations of flyover waypoints, putting more waypoints, and other means, but it seems the trigger only make my plane land asap.
Am I missing something?