> 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/logic-compare/compare-squad-state.md).

# Compare Squad State

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

## Description

Compares if Squad Combat States are the same

## 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 State A | Squad State | Yes      | Squad State to compare to other input. |
| Squad State B | Squad State | Yes      | Squad State to compare to other input. |

## Outputs

| Output | Type    | Description                                     |
| ------ | ------- | ----------------------------------------------- |
| A == B | Boolean | Outputs TRUE if both Squad States are the same. |

\
\
**Contributors**

AddiCt3d 2CHa0s
