I don't think you can do this direct in the GM mode.
The mod was probably created with the divinity editor. (in which you can place NPCs and attach wandering)

Take a look on the modding forum and search for "patrols"