# Was With Specific Weapon

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

## Description

Queries a _DeathContext_ from the **On Player Killed** or **On AI Unit Killed** event. Returns true if the killing blow came from the Weapon instance..

## 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 with specific weapon. |
| Weapon        | Object        | True     | Which weapon to check if kill was made from it.                |

## Outputs

| Output                   | Type    | Description                                                 |
| ------------------------ | ------- | ----------------------------------------------------------- |
| Was With Specific Weapon | Boolean | TRUE if weapon that made the kill is the same weapon given. |

\
\
**Contributors**

AddiCt3d 2CHa0s
