Well, as soon as I ask for help, I get it to work.
It works if you use an 'attached' trigger, instead of a 'global' trigger; the attached trigger to the oiler, using the 'approach' setting and a different 'duration' for each phase of the UNREP.
I've deleted the file I uploaded, and will keep working on the full mission.
PART 3
I still need to work out the 'failure' trigger - for when the distance between the two ships
exceeds 0.05NM during the UNREP phases. Still happy to hear your thoughts on that one.
The mission begins with the Mk13 Launcher damaged (the scenario is ownship needs to UNREP a new part from the support ship!)
I need to work out
how to work it, so that:
If ownship
exceeds 0.05 NM to the Oiler, before 60 minutes, the 60 minute goal with included 'Repair Mk13 Launcher' script is removed (no reward, and you have to do the mission without a Mk 13)
If ownship stays
within 0.05 NM with the Oiler, for 60 minutes, the UNREP Failure Penalty Trigger (-1000 points) is removed - so that when the ship legitimately breaks away, the penalty won't trigger...
It seems easier to 'create' Triggers (in a dynamic group) and 'run' scripts - than it is to 'remove' triggers or 'stop' a script from running...
Thanks guys,
Stew