Hey guys,
Long time reader, first time poster.
I'm currently building a mission (which I am fairly new to) and I'm trying to get a CAS plane to do something a little bit different and really struggling. Any advice, help or direction would be great.
1. The CAS plane is airborne (or starts on ramp either way) and moves to waypoint 1 where it checks for Flag 1 (repeatable flag, if part of coalition (RED) in zone), if not true then undertakes orbit. We'll call this it's staging area.
2. Flag 1 is triggered by part of coalition RED moving into a zone.
3. Flag 1 triggered, CAS plane moves to the zone area (or thereabouts) and conducts CAS for a duration of 5 mins.
4. Following this, the CAS plane heads to a nearby airfield and performs command Landing ReFuAr for 20 mins.
5. CAS plane takes off, moves to another waypoint which then directs it back to waypoint 1 ( I'm sure I read somewhere that ME doesn't like it if you give it a redirect order from Landing ReFuAr?). Where it should check for flag 1 being raised, if not, continue orbit.
My problem is that the above works fine, until the CAS plane returns to waypoint 1 where it just continues to orbit even when flag 1 is triggered again.
Has anyone got any guidance on this one or a work around that will function for this? I'm trying to avoid the 'just spawn a new plane each time it lands type fix if I can'.
I've attached the MIZ files below, if anyone could help that'd be awesome.
Cheers,
Oz.
Onditional v Repeat test CAS.miz