Quest Tree
  • Quest Tree Documentation
  • đŸ•šī¸Quick Start
    • Installation
    • Start Editing
  • 🎓Tutorials
    • Videos
    • Example Scenes
  • 🧩Components
    • Core Defaults
      • Quest Tree Initializer
      • Quest Tree Sync
      • General Dialogue
      • Default Quest Provider
    • Default UI
      • Default Choice Button
      • Default Dialogue Window
      • Default Dialogue Window Triggerer
      • Default Input Handler
      • Default Item Slot
      • Default Memorable Message
      • Default Quest Foldout
      • Default Quest Foldout Item
      • Default Quest HUD
      • Default Quest HUD Item
      • Default Quest Message UI
      • Default Quest Window
      • NPC World Canvas Handler
    • World Triggers
      • World Dialogue Trigger
      • World Quest Completer
      • World Quest Failer
      • World Quest Receiver
      • World Requirement Trigger
  • âš™ī¸Systems
    • Quest Tree
      • Editor Window
      • Quest Types Editor
      • Settings
      • Character
      • Items
        • Item
    • Dialogue Tree
      • Editor Window
        • Nodes
          • Dialogue Node
          • Choices Node
          • Receive Node
          • Complete Node
          • Trigger Node
          • Boolean (If) Node
      • Settings
      • Quest Dialogue
      • General Dialogue
  • 📄Scripting
    • Quests
      • Getting Quests
        • Quest Find Settings
      • Working with Quests
        • Quest Types
        • Child Quests
        • Quest NPCs
        • Requirements
      • Managing Quest States
    • Dialogue
      • Getting Dialogue
      • Dialogue Graph
        • Working With the Graph
    • Initialization
    • Disconnect
    • Syncing
    • Events
    • Saving/Loading
    • Player Recognition
    • Choices
    • Items
      • Rewards
        • Managing Granted Rewards
    • Characters
    • Requirements Manager
    • Procedural Generation
  • đŸ› ī¸Support
    • Getting Help
  • 📚Changelogs
    • Latest Releases
  • ⭐Rate Me?
Powered by GitBook
On this page
  • Expression Preview
  • Properties
  1. Systems
  2. Dialogue Tree
  3. Editor Window
  4. Nodes

Boolean (If) Node

PreviousTrigger NodeNextSettings

Last updated 5 months ago

The Boolean node provides a way to handle QT-related logic in the form of if statements. Most properties exist to develop the if statement. This node can be used to direct dialogue in a completely different path depending on the state of quests, choices, rewards, or triggers.

Expression Preview

You can see the an expression preview below all conditions. The expression preview is a English-readable version of the if statement which gives you an idea of how the if statement looks.

Properties

Add (button): Adds a new condition.

Delete (button): deletes a condition.

Set As Initial (button): Sets this node as the initial node.

ID: The node's ID (read-only).

Group Starter: If this condition will start a new condition group. Condition groups are basically brackets in C# if statements. If a condition group has started, then there must be a condition that ends it, otherwise it will result in errors.

  1. None: Does not add or end a condition group.

  2. Start Group: Starts a condition group.

  3. End Group: Ends the condition group.

If Target: The condition target object type. This defines the type of the object that should be checked.

Not: When disabled, the condition will check if the quest state matches or if the key exists. When enabled, it will instead check if the quest state does not match or if the key does not exist.

Key: The key of the choice, reward, or trigger. The condition will check if the key exists or not. This is not relevant if the 'If Target' is set to quest.

Quest State: The state of the quest that should or should not match.

Quest: The quest that the condition should check.

âš™ī¸