You’re giving yourself an unnecessarily hard time by not destroying the used triggers.
When the player overlaps a trigger, the actor should destroy itself.
Then, all you ever have to do is find the distance to the next trigger.