Skip to content

Example Blueprint Using Dialogue Values

Daniel Butum edited this page Oct 21, 2020 · 10 revisions

3. Setting up the player character

  1. Open the TopDownCharacter Blueprint. Add the DlgDialogueParticipant interface in the Class Settings panel. CharBP0

  2. Open the newly added GetParticipantName interface function and create a Name variable called ParticipantName. The function should return it. Set the value to MyCharacterName. CharBP1

  3. Return to the content browser. Create a new Structure with the name DlgData. Add 4 variables (3 maps and a set): CharBP2

  4. Go back to the character blueprint. Add a new variable with the name DlgData, set the type to DlgData.

  5. Implement the Modify... and Get... interface functions: function_ModifyNameValue function_ModifyIntValue function_ModifyFloatValue function_ModifyBoolValue

function_GetNameValue function_GetIntValue function_GetFloatValue function_GetBoolValue

Clone this wiki locally