# On Generic Flag Scored

![](/files/s4coK36Z99RHiM3NGLbc)

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


---

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