In the OnDialogueNodeExecuted event, update UI elements:
OnDialogueNodeExecuted
Display SpeakerInfo.DisplayName (character name)
SpeakerInfo.DisplayName
Display SpeakerInfo.Avatar (character avatar texture)
SpeakerInfo.Avatar
Display Node.DialogueText (dialogue content)
Node.DialogueText
Apply SpeakerInfo.SpeakerColor for styling
SpeakerInfo.SpeakerColor
In the OnDialogueChoiceNodeExecuted event:
OnDialogueChoiceNodeExecuted
Generate buttons for each item in AvailableChoices
AvailableChoices
Display Choice.ChoiceText on each button
Choice.ChoiceText
For multiple selection: show selection count and min/max hints
If SelectionTimeout > 0: display countdown
SelectionTimeout > 0
Create a "Next" button that calls AdvanceDialogue()
AdvanceDialogue()
Only display when AutoAdvanceDelay = 0
AutoAdvanceDelay = 0
Collect selected ChoiceID values (FGuid) from the UI
ChoiceID
Convert FGuid to string if needed for display
Submit the original FGuid array to SubmitChoice()
SubmitChoice()
Last updated 4 months ago