For those who want to learn how you can make NPCs patrol around, here's a basic tutorial using splines: https://docs.larian.game/NPC_Patrols
Let me know if you have any suggestions to improve it.