try to make figure have an invisible line from him to the point the sound was made, then make it follow the pathfinding nodes that lead towards the sound and when the line is not obstructed make figure go to the spot, then make it to follow his path again to not get him froze