I propose the ability for human players to create automated parties (similar to hero parties) using the same AI logic but created from the Barracks room instead.
Each creature gets a new variable called BARRACK_JOB which can be (these identical ai logic as the ones used by heroes in map scripting):
STEAL_GOLD = leader will go to enemy Treasure steal gold then attack dungeon heart
STEAL_SPELLS = leader will go to enemy Library steal spell then attack dungeon heart
ATTACK_DUNGEON_HEART = ldear will go and attack enemy dungeon heart
ATTACK_ROOMS = leader will go and attack enemy rooms
ATTACK_ENEMIES = leader will wonder about and attack any enemies encountered
DEFEND_PARTY = leader will wonder about and defend all it's followers
Leaving it blank will prevent the creature from becoming a leader (e.g. Skeletons, Hell Hound)
How to create a party:
Right now for possession this already works like this.
So you want these new things:
The latter, how do you want the player to do so?
Add a new variable to the config for each creature call it PARTY_JOB or BARRACK_JOB
There are two ways to control the party job:
How leader is selected
To disband a party
The bolded options were edited in later and LIKELY the easiest way to implement this new mechanic.