-
Notifications
You must be signed in to change notification settings - Fork 0
6.5 The Interface
BDC_Patrick edited this page Dec 9, 2025
·
2 revisions
| Image | Info |
![]() |
The Interface to implement on your UserWidgets to receive Dialog Data. |
| Description | |
|
The BDC_DialogBackend_InterfaceUI acts as the bridge between the Dialog Subsystem and your visual UI layer. By implementing this interface on your UserWidgets (e.g., your Message Box or Dialog HUD), you allow the system to call specific events automatically when text updates, dialogs start/end, or custom events are triggered within the dialog flow. |
|
| Event Name | Parameters | Description |
| OnDialogStarted | - | Triggered when a dialog sequence begins. Used to initialize or reset UI elements, play opening animations, and prepare the widget for input. |
| OnDialogUpdated |
CurrentData
|
Triggered when the dialog advances. Provides the full state of the current node (Text, Speaker, Audio, etc.) to refresh the UI. |
| OnDialogWaiting |
WaitEndTime WaitElapsedTime
|
Triggered when the dialog enters a "Waiting" state (e.g., Delay Node or Auto-Forward). Use this to update progress bars or countdown timers. |
| OnDialogMaybeHide | - | Invoked when specific conditions suggest the UI should be hidden or collapsed (e.g., empty messages or specific state transitions). |
| OnDialogFinished | - | Triggered when the dialog sequence concludes. Use this to play closing animations, clear text, or remove the widget from the viewport. |
| OnEventOccured |
EventTag EventValues MassTags Additionals
|
Triggered when an Event Node is processed. Allows custom logic like screen shakes, color changes, or sound effects driven by the graph. |
- Ensure your UI Widget implements this Interface in the "Class Settings" -> "Interfaces" panel in the Blueprint Editor.
- The CurrentData struct in `OnDialogUpdated` contains all necessary info to populate your UI (Speaker Name, Avatar, Message Text, etc.).
I. What is the Dialog Backend?
II. Setting up
|

CurrentData
WaitEndTime
EventTag
MassTags