Documentation
LoreHub Dialogue System
Documentation & Tutorials
LoreHub Dialogue System
Introduction
Dialogue Schema
Concept
Examples
Tutorials
Dialogue System for Unity
Dialogue Schema API
Export Schema v.1
Export Schema v.2
Document v.1
Dialogue v.1
Dialogue v.2
Dialogue Node v.1
Dialogue Node v.2
Dialogue Node Option v.1
Dialogue Node Option v.2
Variable v.1
Meta Schema v.1
Content Block v.1
Link v.1
Content Block version 1
Id
Content Block's Id is Id of Dialogue Node. So it has a 1-to-1 relationship.
Schema: Text
{
"type": "@lorehub/content-block",
"apiVersion": "1.0.0",
"id": "6a302631-8e79-405e-8bc7-0e2d68b02a32",
"content": [{ "text": "Hello!" }]
}
Result should be
"Hello"
Schema: Speaker (ref) & Text
{
"type": "@lorehub/content-block",
"apiVersion": "1.0.0",
"id": "6a302631-8e79-405e-8bc7-0e2d68b02a32",
"content": [
{ "documentId": "ca2f5193-a3e0-41dd-830a-491132090d34" }
{ "text": "Hello!" }]
}
Result should be
If document with id ca2f5193-a3e0-41dd-830a-491132090d34 is document name "Kael"
Kael:
"Hello"
Schema: Speaker (ref with custom name) & Text
{
"type": "@lorehub/content-block",
"apiVersion": "1.0.0",
"id": "6a302631-8e79-405e-8bc7-0e2d68b02a32",
"content": [
{ "documentId": "ca2f5193-a3e0-41dd-830a-491132090d34", "text": "Voice from behind" }
{ "text": "Hello!" }]
}
Result should be
If document with id ca2f5193-a3e0-41dd-830a-491132090d34 is document name "Kael"
Voice from behind:
"Hello"