hi
if its a trigger or a waypoint your using to group the pilot then you could do this
on the trigger or waypoint on activation put:
rescued=true
and now on what ever you have to trigger the ending put this into the condition:
rescued
hope this helps
Cheers, Philly