NavMesh OffMeshLink only use if a condition is meet
I'm sure I'm just googling this wrong but is there a way for a certain AI to not use or even attempt to use an OffMeshLink if it doesn't meet a required condition but other AIs can still use it. FYI I am using the NavAgent to control AI.
Here is an example: Enemy 1 is a night in heavy armor and can jump up 1 unit(the measurement is just to give idea for scale). Enemy 2 is a rogue that can jump as high as 5 units. In this example both enemies need to either jump up a wall to get to their target or run around to take the ramp up. The wall is 3 units high. So the knight needs to walk around but the rouge can definitely make the jump.
I know their is a way to execute code when the AI already gets to the OffLinkMesh but I don't want the AI wasting It's time on every OffLinkMesh on it's way around when it clearly can't make it. What would I be looking to use in this case?