Board Thread:General Mod Discussion/@comment-26371213-20150704180818/@comment-26371213-20150714213641

What if there was a command item that you could bind to a unit to set his position there? He could also be set to stand his ground mode. If he is an archer he will continue trying to fire from his position while firing at the enemy (yes he will most likely get slaughtered). But if that unit has not been hit by an enemy in 2-5 seconds then he will return to that position and continue his duties. For a melee unit this would mean charging at an enemy unit only when the enemy is a few blocks near to him. And even after engaging in melee combat he will attempt to stay near to his set position.

There should also be a tool that is like the quest book and can see all of your available units in the loaded chunk range and the unloaded ones which you cannot command (greyed). The units in the loaded area can receive orders from you via the book which would allow you to change their stance. You can also change multiple units stances by checking their check boxes next to their listing and selecting a certain mode from one of the buttons on the right or left hand side. You will still have to set unit positions manually (easier to code) but you can delete their set positions via the command book. So here are the modes I have thought up of already:

-Hold ground (default is where they are standing already without a manually set position)

-Patrol (default is set to 10-15 blocks)

-Rush (the normal stance where units go to attack anything in their sight range)

-Follow (the normal follow stance when units will still attack nearby enemies)

-Retreat (a different follow stance where your units do not attack nearby enemies)

-Skirmish (a special command used by ranged units to attack at maximum range and to retreat when enemy is within configurable range)

Groups of your units can be sorted with different tabs. Use custom npcs's "copy npc" GUI for reference.

I hope all of this sounds reasonalbe to you guys and I hope to get a reply soon about it.