The idea is simple, make the AI teleport from point A to point B. Using the blue circle as the input and the red circle as the output, since the brown path is actually the shortest path and the green path is the longest.
Ok, i got it
It was easier than I thought.
No need to change the array path points .
1-Calculate the shortest path using teleportation points
2-Send the pawn to the chosen entry teleportation point using AIMoveTo
3-Teleports the pawn to the exit point closest to the target
4-Let the behavior tree do the rest