Description
Besides follow-id, it is also possible to add distance and angle. Perfect for creating automated formations.
Simple example that makes chaingunners follow warden ID 1. It offsets the follow distance by amount of chaingunners. It offsets the angle by 360/unit amount*chaingunner ID.
It starts working from 4 chaingunners. The commands only need to be given at start and when amount of chain gunners changes. Logic not included.
With set maximums instead of using unit count you can create tighter or wide circles. By making a similar circuit for another unit type you can add units to the formation.