> 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-ai-unit-inactive.md).

# Set AI Unit Inactive

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

## Description

Sets the Inactive behavior on an AI Unit

## 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                                            |
| ----------- | ------- | -------- | ------------------------------------------------------ |
| AI Unit     | Object  | Yes      | The AI Unit to set Inactive for.                       |
| Is Inactive | Boolean | Yes      | If set to TRUE, AI is Inactive, if FALSE AI is active. |

## Outputs

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

\
\
**Contributors**

AddiCt3d 2CHa0s
