Hey! I noticed that after the latest update, NHF became more compatible with quick keys (did you achieve this by chance, or how?), now it only complains about units standing on the borders of areas, teleporters, and ladders in the dungeon (and only if you're on the surface). Also, if you change units (Ctrl-C, Delete, Ctrl-V), it fixes the issue, and as I understand it, it simply assigns a different ID, and everything becomes normal. So, I removed the guard placement from the template, and now I'm playing with your mod, and so far, everything seems to be working fine.
P.S.: 0
false - this is what I have in the template now, and I would like to know if there are other commands for placing guards... because with other units placed, etc., everything works great :)