A system used to manage interact widgets, dialogues and voice files
- Download the latest release from GitHub
- Navigate to
C:\Program Files\Epic Games\UE_{VERSION}\Engine\Plugins\
- Create a
Marketplace
folder if needed - Extract the release and copy to the
Marketplace
folder - Open Unreal Engine
- Click on
Edit > Plugins
- Enable the plugin under the
Installed > Unreal Toolbox
category - Restart Unreal Engine
The Dialogue Voice List
contains a list of audio files that is played when a dialogue is shown. A random audio file is selected whenever needed. The following properties and functions can be used:
Voices
- An array of audio files that can be playedGet Random Voice
- Return a random audio file from the array of available audio files
The Dialogue Interact Widget
is a simple UI widget that displays some text and an Input Indicator Widget
. This widget is used when the player enters the Dialogue Trigger
. The following UI elements are required when creating a Dialogue Interact Widget
:
Container
- AHorizontal Box
that contains all the elements of the widgetBefore Text
- AText Block
that is used to display the start of the interact textAfter Text
- AText Block
that is used to display the end of the interact text
You also need to set up the following animations:
Show Animation
- An animation that is played when theDialogue Interact Widget
is shownHide Animation
- An animation that is played when theDialogue Interact Widget
is dismissed
The following functions can be used to interact with the Dialogue Interact Widget
:
Show Widget
- Show theDialogue Interact Widget
by using the specified informationHide Widget
- Hide theDialogue Interact Widget
by either playing the hide animation or by just setting the visibility
The Dialogue Widget
is a simple UI widget that displays a title and message text. The following UI elements are required when creating a Dialogue Widget
:
Title Text
- AText Block
that is used to display the title of the dialogueMessage Text
- AText Block
that is used to display the message of the dialogue
You should also set the following properties before using the Dialogue Widget
:
Interact Sound
- ASound Base
that is played when showing the widget or when skipping a message
You can interact with the Dialogue Widget
by using the following functions:
Show
- Show theDialogue Widget
by using the specified informationSkip Message
- Skip the type animation or continue to the next message in the list
A Dialogue Trigger
can be added to any actor that the player can interact with. The Dialogue Trigger
contains all the information for the interaction. Before you can use the Dialogue Trigger
, you need to set the following properties:
Player Class
- A reference to the player class. This is used to check if the player is entering the triggerInput Indicator Class
- A reference to theInput Indicator Widget
class that will be used whn entering this triggerInteract Before Text
- The text displayed at the start of theDialogue Interact Widget
Interact After Text
- The text displayed at the end of theDialogue Interact Widget
Dialogue Titles
- An array of titles displayed in theDialogue Widget
after interacting with this triggerDialogue Messages
- An array of messages displayed in theDialogue Widget
after interacting with this triggerDialogue Voices
- An array ofDialogue Voice List
items used by theDialogue Widget
after interacting with this trigger
After setting up the trigger, you can use the following functions:
Show Dialogue
- Show theDialogue Widget
using the provided informationShow Interact Widget
- Show theDialogue Interact Widget
using the provided informationHide Interact Widget
- Hide theDialogue Interact Widget
The Dialogue Manager
is used to manage all the triggers and widgets. This actor needs to be placed in every map where you use the dialogue system. The following functions is available:
Is Dialogue Shown
- Return a boolean value indicating if theDialogue Widget
is currently shownSet Current Dialogue Trigger
- Set theDialogue Trigger
that the player is currently insideReset Dialogue Trigger
- Reset theDialogue Trigger
after the player leaves the triggerShow Interact Widget
- Show theDialogue Interact Widget
using the information specified by the currentDialogue Trigger
Show Dialogue
- Show theDialogue Widget
using the information specified by the currentDialogue Trigger
Skip Dialogue Message
- Skip the current message in theDialogue Widget
On Dialogue Dismissed
- Clean up the UI after theDialogue Widget
is dismissed