A trigger happens sometime in the future, you don't know when. It could be in a tick, it could be in X seconds. Since you are calling Find path, then immediately checking the trigger condition, the chances of the trigger being true within that time are pretty much zero. You need to move your trigger outside of the For loop, so that when it occurs sometime later, it can be processed and your Move on path called.