Graph block
Last updated
Last updated
All -> Content -> EasyDialogueSystem.
Please edit the code only if you are familiar with programming and the blueprint system.
So, the entire code base is right here. Functions, variables, etc. Let's go through everything that is here.
I tried to comment the code and functions as much as possible. If anything is unclear, write to me on .
Functions:
CreateDialog - Initial function for processing dialogues.
QuickTypewriter - Clears the timer and sets an accelerated time for writing text.
SplittingDialogComponents - In this function, we process the dialogue and split it line by line.
CreateAnswers - Create answer in UI_Answer_Block.
TagSwitcher - Function for recognizing tags and switching between them.
SetTextByLetter - The function is called by a timer and prints an additional letter.
Initialization - Initialization of initial values for the widget
CheckInterlocutor - Checks and changes the interlocutor if a new one is specified.
CheckEmotion - Checks and changes the emotion if a new one is specified, otherwise all emotions remain as they are, without any animation.
ResetDialog - Applies default values to all variables
Variables are internal and mainly store temporary values.