# Was Character Type

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

## Description

Queries a _DeathContext_ from the **On Player Killed** or **On AI Unit Killed** event. Checks if the dead AI unit's _Character Type_ and _Species_ match the specified input.

## 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 if kill was an assist. |
| Character Type | Character Type | True     | Checks if killed unit was this Character Type       |
| Species        | Species        | True     | Checks if killed unit was this Species.             |

## Outputs

| Output                  | Type    | Description                                       |
| ----------------------- | ------- | ------------------------------------------------- |
| Are Same Character Type | Boolean | TRUE if killed Unit matches given Character Type. |
| Are Same Species        | Boolean | TRUE if killed Unit matches given Species.        |

\
\
**Contributors**

AddiCt3d 2CHa0s
