> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/death-context/was-vehicle-kill.md).

# Was Vehicle Kill

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-55e2043d1d2e42ca27ab2a7263b86dd30961595f%2Fwas-vehicle-kill.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 vehicle damage source.

## 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 vehicle damage. |

## Outputs

| Output           | Type    | Description                                      |
| ---------------- | ------- | ------------------------------------------------ |
| Was Vehicle Kill | Boolean | TRUE if kill was caused by a vehicle.            |
| Was Splatter     | Boolean | TRUE if killed player was ran over by a vehicle. |

\
\
**Contributors**

AddiCt3d 2CHa0s
