MySys22.DialogueSystem
Document
1.0
Engine
0.5 BETA
Editor
0.5 BETA
Updated
2026-09-28

7. Condition system

A Condition node connected to the output of a Function receives the result of the function and routes onto on_true / on_false. A Condition node with a condition field is instead evaluated directly.

The supported grammar is the following (no eval, no access to code):

ElementExamples
Comparison operators==, !=, <, <=, >, >=
Logical operators&&, `\\, !`
Parentheses`(a \\b) && c`
Literalstrue, false, integer and decimal numbers, strings in quotes
Identifiersalso dotted: quest.rescue.state
Unary minus-1

Arithmetic is not supported: for counters, AddInt from the API or the quest actions are used.

The quest variables are exposed automatically (QuestVariableMirror):

quest.<id>.state        available | active | completed | failed
quest.<id>.available    bool
quest.<id>.active       bool
quest.<id>.completed    bool
quest.<id>.failed       bool
quest.<id>.step.<stepId>  bool

An invalid expression is logged with [324] and considered false.


8. Variables and quests

OnChanged event.

validation and for the editor.

implementation. The game may supply its own (SetQuestService).

it without code.