> 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/is-ai-unit-of-species.md).

# Is AI Unit Of Species

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-49b7d3e5a329f32dd05f950249afa4c2dd6b584a%2Fis-ai-unit-of-species.png?alt=media)

## Description

Checks if the AI belongs to the AI Species, such as Grunt

## Node Type

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

## Inputs

| Input   | Type    | Required | Description                                  |
| ------- | ------- | -------- | -------------------------------------------- |
| AI Unit | Object  | Yes      | The AI Unit to check species of.             |
| Species | Species | Yes      | Which species to check if AI Unit is one of. |

## Outputs

| Output             | Type    | Description                                    |
| ------------------ | ------- | ---------------------------------------------- |
| Is Unit of Species | Boolean | TRUE if AI Unit is same species, FALSE if not. |

\
\
**Contributors**

AddiCt3d 2CHa0s
