# On Custom Event, Global

![](/files/V8vBJWlTgiVBEpdddOiH)

## Description

Event called when **Trigger Custom Event, Global** is called from ANY script brain with a matching *Identifier*. Unless you have specific need for multiple script brains, it is always best to use the non-global version of **On Custom Event**.

## 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.thescriptersguild.com/scripting/nodes/events-custom/on-custom-event-global.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
