HOW To Do Line Formation RTS

Hi I’d like to ask how to do proper line formation in rts.
I post and image and video because i stack on it. right now formation rotates from center of map not from arrow more in video.

There is already a tutorial on YouTube Unreal Engine 4 RTS Series Line Formation
Maybe it helps you