# Dialogue Nodes (Phases)

Dialogue nodes are the core building blocks of the dialogue system. Each node represents a distinct dialogue phase: from character lines and player choices to triggering gameplay events and providing alternative entry points.

The key principle is that each node has a well-defined role within a dialogue branch and connects to others via pins, forming a structured narrative flow. This design enables:

* **Flexible dialogue logic control** (launch conditions, state checks, branching).
* **Support for both text and voice by default** when delivering lines.
* **Easy control of gameplay events** by triggering actions at specific points in the dialogue.
* **Separation of narrative and technical concerns** (phrases, player responses, events, transitions).
* **Modularity and reusability:** nodes can be freely combined to create non-linear dialogue structures.
* **Integration with gameplay systems** through additional pins (OnRun, Post) that execute actions at the right moment.
* **Project-specific extensibility:** nearly all nodes include pass-through logic and can be inherited from to customize the dialogue system for unique project needs.<br>

As a result, dialogue nodes make it possible to build dynamic, interactive, and rule-driven dialogues, where storytelling is seamlessly integrated with gameplay logic and events.

{% hint style="warning" %}
Page currently being updated.
{% endhint %}


---

# 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://gamewaycreator.gitbook.io/dbs-docs/dialogue-branch-system/dialogue-nodes-phases.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.
