In this video I show you how to 1) move multiple units so they don't end up on exactly the same node, and 2) create flexible formations that change in the presence of unwalkable nodes.
This tutorial does not go over different formation patterns. That will come later :)
Get the project from here: https://www.mediafire.com/?uop5fj3zcy3eorp
Credit to Sebastian Lague for his pathfinding scripts, and UnitChat for some of his selection methods.