> For the complete documentation index, see [llms.txt](https://slashin8r.gitbook.io/universal-monster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://slashin8r.gitbook.io/universal-monster/features/group-formations.md).

# Group Formations

Tired of all your AI just roaming around alone? **Universal Monster** allows you to put your AI into **Group Formations** of many types. You can create large scale military formations or simply have a few AI follow the player as needed. The formations options are extremely customizable and if the formation you wish to create does not exist, just make a suggestion on the **UM Discord** and if it can be created using math, then it will be added. Since **UM** utilizes math algorithms to create these formations, they are very efficient and can be created during runtime without any performance issues.

## Formation Info

![](https://2501426749-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbsB8IAdQC_jVeRoJ70%2F-MiCjuEGGTuGOnnU4zLa%2F-MiCka0Dh4VuDGtezq80%2Fimage.png?alt=media\&token=9fe5d299-f872-4758-b2a6-ea3869bad344)

**Data Table Row**: All of your Group Formations can be stored in a Data Table and referenced here.\
**Formation**: The type of Group Formation to use. More information on each type is below.\
**Perimeter Only?**: If true, the middle of the Group Formation will be left empty.\
**Formation Spacing**: The space between units of the Group. How this is used by each type is explained below.\
**Formation Angle**: The angle of the Group Formation. How this is used by each type is explained below.\
**Mob Edge Density**: **Used by Mob formation only!** Higher values move units closer to the edge.\
**Auto Units Per Row?**: **Used by Square formation only!** Use math to determine Units Per Row.\
**Units Per Row**: **Used by Square formation only!** If Auto Units Per Row is false, choose the number of Units Per Row.\
**Num Rows**: **Used by Circle formation only!** Choose the number of rows to be used in a Circle formation.\
**Leader Spacing**: Distance of Leader from the Group Formation.\
**Leader In Formation**: Should the Leader occupy the first location in the Group Formation?\
**Leader In Center**: Should the Leader occupy the center of the Group Formation?\
**Right Then Left**: Should the Group Formation be fill from right to left? Default prioritizes left over right.

{% content-ref url="/pages/-Mh-Rq2Vr742ZoVI8-L2" %}
[Data Tables](/universal-monster/features/data-tables.md)
{% endcontent-ref %}

## Formation Types

### Square

More Info Coming Soon.

### Wedge

More Info Coming Soon.

### Circle

More Info Coming Soon.

### V

More Info Coming Soon.

### Line

More Info Coming Soon.

### Mob

More Info Coming Soon.

## Formation Functions

More Info Coming Soon.
