world << "<b>[name]</b> has joined. (Faction: [Faction_Check()]) (Team: [Team_Check()])"
for(var/NPC/soldier/P in s_group)
for(var/NPC/soldier/R in s_group) if(R.leader)
Well, I spent a few hours trying to come up a way for units to walk in formations. This is all I've come up with.
I know there are ways it could be better, especially since there tends to be "gaps" in the formations instead of forming straight lines.