# Dialog

{% embed url="<https://youtu.be/p62ggYo7D0Q>" %}

## Creation

To create a dialog, find (or create) the *GameName/Resources/GameName/Dialog* folder in the project tab and right click.  Choose *Create > AnyRPG > Dialog > Dialog*.

## Properties

| Name                    | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Automatic               | If true, this dialog will play in a speech bubble above a character's head, and advance automatically based on the timing in the *Dialog Nodes*.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Repeatable              | If true, the dialog can be played more than once.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Audio Profile Name      | The name of an audio profile that contains audio profiles to play for each *Dialog Node*.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Dialog Nodes            | <p>A list of dialog text with optional timings for automatic play, and optional text defining what will show on the next button for manual dialogs.<br><strong>Start Time</strong><br>The time, in seconds after the dialog is activated, that this dialog node should begin displaying, if the dialog is automatic.<br><strong>Show Time</strong><br>The time, in seconds, that the dialog should remain active, if the dialog is automatic.<br><strong>Description</strong><br>The text to show in the dialog window or speech bubble.</p><p><strong>Audio Clip</strong></p><p>An audio clip to play when this dialog section is displayed.<br><strong>Next Option</strong><br>If the dialog is manual, this text will show on the button that causes the dialog to proceed to the next <em>Dialog Node</em>.</p> |
| Prerequisite Conditions | A list of [Prerequisite Conditions](/shared-properties/prerequisite-conditions.md).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |

## Next Steps

* Add a dialog to a [Dialog Interactable Option](/scriptable-objects/interactable-option-configurations/dialog-config.md) so it can be started manually by the player.
* Configure a [Behavior](/scriptable-objects/behavior-profile.md) to play a dialog.


---

# 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://docs.anyrpg.org/scriptable-objects/dialog.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.
