UI Integration Recommendations

Text Display

  • In the OnDialogueNodeExecuted event, update UI elements:

    • Display SpeakerInfo.DisplayName (character name)

    • Display SpeakerInfo.Avatar (character avatar texture)

    • Display Node.DialogueText (dialogue content)

    • Apply SpeakerInfo.SpeakerColor for styling


Choice Display

  • In the OnDialogueChoiceNodeExecuted event:

    • Generate buttons for each item in AvailableChoices

    • Display Choice.ChoiceText on each button

    • For multiple selection: show selection count and min/max hints

    • If SelectionTimeout > 0: display countdown


Manual Advance

  • Create a "Next" button that calls AdvanceDialogue()

  • Only display when AutoAdvanceDelay = 0


Choice Submission

  • Collect selected ChoiceID values (FGuid) from the UI

  • Convert FGuid to string if needed for display

  • Submit the original FGuid array to SubmitChoice()

Last updated