Skip to content

6.4 The Libraries

BDC_Patrick edited this page Dec 9, 2025 · 4 revisions

BDC_Dialog_Library (Runtime)

Image Info
Dialog Library Static Helper Functions for Blueprint interactions.
Description

The BDC_Dialog_Library exposes the functionality of the Dialog Subsystem to Blueprints as static nodes. It provides functions to control dialog flow, manage UI rich text, manipulate global variables, and handle save data.

UI Helper Functions

Function Parameters Description
EnsureBDCDecorators Object Target (RichTextBlock)
Bool bReparseCurrentText
Bool bShowDebug
Attempts to retrieve and assign necessary Rich Text Decorator classes to the target RichTextBlock. Useful for dynamically created widgets.

Dialog Control Functions

Function Parameters Description
StartDialog Asset SourceDialogAsset
Name DialogID
Enum OfType
Tags ParticipantTags
Triggers the subsystem to start a specific dialog sequence. Supports Window, Bubble, and Background modes.
GetAvailableOptions Bool bHasAnyOptions (Out)
Array AvailableOptions (Out)
Retrieves the current list of options if the dialog is waiting for player input.
SelectOption Int SelectedIndex
Bool bValidRowFound (Out)
Selects an option by index, advancing the dialog flow.
InjectContinue - Signals the subsystem to proceed to the next node (simulates a "Next" click).
GetAdditionals Bool bHasAdditionals (Out)
Map Objects (Out)
Map Classes (Out)
Tags Tags (Out)
Retrieves extra data attached to the current dialog node.

Participant & Bubble Management

Function Parameters Description
GetAllParticipatingComponents Tags FilteredByTags
Set FilteredByNames
Map ComponentsByName (Out)
Retrieves active BDC_DialogBackend_ActorComponents from the subsystem based on filters.
ForceAllBubbleClosure - Closes every active dialog bubble in the world.
ForceBubbleClosureByParticipant Tag TargetParticipant Closes bubbles belonging to a specific participant ID.
SetPauseDialogBubbleContaining Tags TargetParticipants
Bool bIsPaused
Pauses or Resumes bubbles for a specific group of participants.

Global Value Functions

Functions to send (set) or receive (get) global variables. All Send functions support bCreateIfNotExist.

Type Send (Setter) Receive (Getter)
Int SendValueInt ReceiveValueInt
Int64 SendValueInt64 ReceiveValueInt64
Float SendValueFloat ReceiveValueFloat
String SendValueString ReceiveValueString
Name SendValueName ReceiveValueName
Vector SendValueVector ReceiveValueVector
Vector2D SendValueVector2D ReceiveValueVector2D
Point (IntPoint) SendValuePoint ReceiveValuePoint
Bool SendValueBool ReceiveValueBool
GameplayTags SendValueGameplayTags ReceiveValueGameplayTags
Actor Reference SendValueReference ReceiveValueReference
Converter ConvertGlobalValue (Converts Type A to Type B)

Dialog_EditorUtilityLibrary (Editor)

Image Info
Editor Library Helper Functions for Editor Utilities and Automation.
Description

The Dialog_EditorUtilityLibrary contains tools to speed up asset creation within the Unreal Editor. Currently, it focuses on generating Emoji tables from folder paths.

Utility Functions

Function Parameters Description
CreateEmojiTableOfPath DataTable TargetDataTable
String PathToEmojiTextures
IntPoint ImageSizes
Bool bOverrideExisting
Bool bSaveDataTableAfterFinished
Synchronous function. Scans a folder path for Texture2D assets and automatically fills the target DataTable with FEmojiRow entries.
CreateEmojiTableOfPathAsync (Same parameters as above) Asynchronous version (Async Action). Prevents editor freezing when processing large libraries of images. Provides OnProcessing (progress) and OnFinished delegates.

Documentation Index

I. What is the Dialog Backend?
II. Setting up
III. Binding UI
IV. The Subsystem
V. The Components
VI. Dispatchers
VII. Others

Demo available: Demo Page

Clone this wiki locally