> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/ai-modifiers/set-squad-follow-object.md).

# Set Squad Follow Object

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-33e6fba78d2e21fac2f1f99d8fd2ba88533c6388%2Fset-squad-follow-object.png?alt=media)

## Description

Forces a Squad to follow the Target Object. The Follow Radius defines the area around the object that the Squad must stay in.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node Executes a function directly in the node string.

## Inputs

| Input         | Type                    | Required | Description                                             |
| ------------- | ----------------------- | -------- | ------------------------------------------------------- |
| Squad         | Squad                   | Yes      | AI in this Squad will attempt to follow the object.     |
| Target Object | Object                  | Yes      | The Object that the Squad will attempt to follow.       |
| Follow Radius | Number (-10000 - 10000) | Yes      | AI in the Squad outside of this radius will not follow. |

## Outputs

| Output | Type | Description |
| ------ | ---- | ----------- |
| N\A    | N\A  | N\A         |

\
\
**Contributors**

AddiCt3d 2CHa0s
