# Get All AI Units On Team

![](https://264187692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq39qopWeWNs74JJEWw4C%2Fuploads%2Fgit-blob-ed804b873e3e1d9dc5222c05be373cb8aac55071%2Fget-all-ai-units-on-team.png?alt=media)

## Description

Returns all currently-spawned AI Units on the team, with options for the AI Unit Count and a Random AI Unit from the list. The order of list entries is random.

## Node Type

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

## Inputs

| Input | Type | Required | Description                              |
| ----- | ---- | -------- | ---------------------------------------- |
| Team  | Team | Yes      | Specify which Team to get AI Units from. |

## Outputs

| Output   | Type        | Description                                         |
| -------- | ----------- | --------------------------------------------------- |
| AI Units | Object List | A list of all surviving AI Units on specified team. |

\
\
**Contributors**

AddiCt3d 2CHa0s
