> 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-advanced/get-squad-combat-state.md).

# Get Squad Combat State

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-ccd637ac0199eb6bf986f40f21c50586610c7281%2Fget-squad-combat-state.png?alt=media)

## Description

Returns the Combat State of a Squad. This state is the highest alertness that any squad member currently has.

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input | Type  | Required | Description                         |
| ----- | ----- | -------- | ----------------------------------- |
| Squad | Squad | Yes      | The Squad to check Combat State of. |

## Outputs

| Output       | Type         | Description                                        |
| ------------ | ------------ | -------------------------------------------------- |
| Combat State | Combat State | Returns highest Combat State of any Unit in Squad. |

\
\
**Contributors**

AddiCt3d 2CHa0s
