@HerlySQR I think the friend doesn't look for that basically, I mean in relation to the 12 units limitation per group move, although your tip is good for a deeper request. There are some known maps that move up to 20 units per group, such as Rome II Total War, I even found maps that had 60 units per group, but they are all protected, and I wasn't interested in unlocking them either.
I think his intention is for a simpler group movement system made only by GUI itself and not by functions Jass. In the composition of the leader unit (flag) and units linked to it, in addition to modifying the style of the formations, spacing between each of the units in the distribution of the troop, etc...
I've met some really good systems (and extremely simple). There are many batallion systems created here at Hive, but most are very old and few are really useful and didactic. Suggestions:
This is one of the best system I've found with lock-free availability here at Hive, I believe it doesn't have "Leaks", being the use only by the GUI (I don't know the author). The original version has flags that are the leading unit that commands the direction of the group. For each unit killed, the leader loses 1 point of HP. In the Object Editor, the battalion leaders are just flags with invulnerability skill, having HP worth the amount of units in the battalion. If all units die, the leader (flag) will die, taking the definitive loss of all his HP.
--- Original link:"Grantuu's Siege Triggers (JP's Mod)"
But this system causes a conflict if you have more than 1 battalion on the map. For every unit killed, 1 HP will be removed, but for each of the battalion leaders and not just the battalion leader of the unit that was killed. Causing the death of all the leaders of the other battalions that still have units alive on the map. This causes units to detach from other battalions, making all battalions free for individual handling. I still haven't been able to fix this problem created by the author.
Considering this, I created a new version (leaders are vulnerable), in which the Footman unit leaders are real units, with higher HP than the units, if this leader dies, only his troop will suffer dismemberment from all units in the group and not from all similar battalions that exist leaders still alive on the map.
Also added a system "Random Unit", you can have the birth of up to 3 different types of units in the variation of 4 groups of Footman's.
--- Link modification (by me): "AddRandomUnits_Grantuu's Siege Triggers(JP's Mod)"
Ps. Disregard leaks existing!!!
This system created by Tasyen, despite being in GUI, may not be so simple, but it can be interesting to scale the space between the group's units and create different types of formations.
--- Link (by Tasyen): "Formation.w3x"