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
Variable version 1
Schema
{
"type": "@lorehub/variable",
"apiVersion": "1.0.0",
"id": "f2048620-deeb-4de8-b79d-b027db64c823",
"name": "is_player_alive",
"variableType:": "boolean",
"defaultValue": "false"
}
VariableType
Type of the variable:
boolean-"true"or"false". Starts as"false"unless the author picks"true".number- a whole number, can be negative, such as"12"or"-3". Starts as"0"unless the author picks another number.unsignedNumber- a whole number of 0 or more. It never goes below 0: subtracting more than it holds leaves it at 0.
Values are always strings. Numbers fit in a 32-bit signed integer (-2147483648 to 2147483647), without a plus sign, spaces or leading zeros.
{
"type": "@lorehub/variable",
"apiVersion": "1.0.0",
"id": "3b0c3e4e-5b1c-4a55-8f0a-5f7d1d2a9b11",
"name": "gold",
"variableType": "unsignedNumber",
"defaultValue": "0"
}
On this page