> 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-generic-objectives/on-generic-flag-scored.md).

# On Generic Flag Scored

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-60dbf3b8d256e2aa64c648d80bc77fa29633497f%2Fon-generic-flag-scored.png?alt=media)

## Description

Event called whenever a *Generic Flag* is captured, returning the Player who captured the flag and their team

## 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                                         |
| ---------------------- | ---------------------- | -------- | --------------------------------------------------- |
| Generic Delivery Point | Generic Delivery Point | Yes      | Which object to listen when a flag is scored there. |

## Outputs

| Output       | Type   | Description                       |
| ------------ | ------ | --------------------------------- |
| Player       | Object | Which player scored the flag.     |
| Capture Team | Team   | Which team the flag scorer is on. |

\
\
**Contributors**

AddiCt3d 2CHa0s
