🗨️
Dialogue Quests
  • Getting Started
  • Dialogue & Quests
    • Narrative Event
    • Messages and Choices
    • Actors
    • Quests
    • Conditions
    • Effects
    • Tags
    • UI
    • Save File
  • Scripts
    • Scripts Overview
    • Custom Conditions
    • Custom Effects
  • Integrations
    • Survival Engine
    • In Control
    • New Input System
Powered by GitBook
On this page
  1. Dialogue & Quests

Tags

Last updated 1 year ago

It is possible to display variables as part of a dialogue message or as part of the description of a quest.

To set the variable, use NarrativeEffects: Custom Int, Custom String, Custom Float, or Quest Value.

Or alternatively, you can also call one of the functions inside NarrativeData.

NarrativeData.Get().SetCustomInt("kill_count", 5);

To display the value in a DialogueMessage, use this tag

[i:kill_count]

For example

Here is how to display each type of variable

Custom Int

[i:variable_id]

Custom Float

[f:variable_id]

Custom String

[s:variable_id]

Quest Value

[q:quest_id:variable_id]

Actor Relation

[a:actor_id]