# Was With Grenade Type

![](https://264187692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq39qopWeWNs74JJEWw4C%2Fuploads%2Fgit-blob-6b29c91254e1503b0bd93776352414bcddfe1fb6%2Fwas-with-grenade-type.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 a matching Grenade Type.

## 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 grenade type on.                             |
| Grenade Type  | Grenade Type  | True     | Which grenade type to check against, if it was this type that made the kill. |

## Outputs

| Output                | Type    | Description                                                             |
| --------------------- | ------- | ----------------------------------------------------------------------- |
| Was With Grenade Type | Boolean | TRUE if Grenade Type that made the kill matches the given Grenade Type. |

\
\
**Contributors**

AddiCt3d 2CHa0s
