I pushed out a new change for NPCs and their WanderSDX AI Task.
PathingCube blocks have now been changed to a custom Sign block. You may place a few of these invisible signs around your base, entering in a numeric value in its Text box. Then, for hired NPCs, there's a new dialog option that allows you to Set Pathing Code. Enter in the matching number, and the NPC will scan the surrounding areas for PathingCubes, and only path to the code matching. The NPC stores its pathing code as a cvar.
This will allow you to set up multiple PathingCubes around your base, and have different NPCs patrol different routes, using different codes.
Special Codes:
NPCs with Codes set to 0 will path to all PathingCubes.
NPCs with Codes set to -1 will not patrol but stand where they are.
By default, all NPCs spawn with a Code of 0. They should preserve their codes between game sessions, if changed.
Prefabs, when built, can now include PathingCubes as part of construction. You can enter in Codes and have them saved and distributed with your Prefabs, preserving the numbers. This will allow you to create new sleeper volumes with NPCs to auto-spawn and start patrolling in a prefab.
When setting in the Sleepers, you may place a PathingCube in the block next to the sleeper, and set a code on it. When the sleeper wakes up, it does a short scan for PathingCubes to look for a code to use. If it finds one, it'll auto-set its PathingCode cvar to that code, and begin patrolling.