Added random direction for NPCs