# Was AI Killer

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-4af2537de18a78e3fb8cca87307a3a54774ed535%2Fwas-ai-killer.png?alt=media)

## Description

Queries a _DeathContext_ from the **On Player Killed** or **On AI Unit Killed** event. Returns true if the killing unit was an AI.

## Node Type

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

## Inputs

| Input         | Type          | Required | Description                               |
| ------------- | ------------- | -------- | ----------------------------------------- |
| Death Context | Death Context | True     | Which Death Context to check killer from. |

## Outputs

| Output        | Type    | Description                             |
| ------------- | ------- | --------------------------------------- |
| Was AI Killer | Boolean | TRUE if Unit that was killer was an AI. |

\
\
**Contributors**

AddiCt3d 2CHa0s
