Not moving Npc till in line of sight

"solved"