> 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/events-custom/on-custom-event.md).

# On Custom Event

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-36be6c2ab5427d3a0f4c0c27424e293061838998%2Fon-custom-event.png?alt=media)

## Description

Event called when **Trigger Custom Event** is called with a matching *Identifier* from the same script brain. You may only have one **On Custom Event** node (with the same identifier) per script brain.

## Node Type

Nodes fall into two basic categories: Data and Execution. This Execution node fires when something happens in the game that triggers it, and starts off the node string.

## Inputs

| Input      | Type   | Required | Description                                                                           |
| ---------- | ------ | -------- | ------------------------------------------------------------------------------------- |
| Identifier | String | Yes      | Fires when Event is triggered from the same event type using same Identifier as this. |

## Outputs

| Output      | Type        | Description                                                   |
| ----------- | ----------- | ------------------------------------------------------------- |
| Object      | Object      | Outputs an object if one is passed in through the Event.      |
| Number      | Number      | Outputs a number if one is passed in through the Event.       |
| Object List | Object List | Outputs an object list if one is passed in through the Event. |

\
\
**Contributors**

AddiCt3d 2CHa0s
