IF at specific point

i want to get my character to check an IF statement when he gets to a particular waypoint and then leave it alone until he gets to the next specific waypoint. the variable i want them to check at each specific point will affect there route after that point. so far i have managed to get them too constantly check it but this causes problems of them trying to change to a completely different path rather than continuing on the one they are one

Enable and disable the waypoints as you go?

the point is i will have groups continuously spawning and then the player will have switches to send them down different paths so i don’t think that would help me there. Thanks anyway