Blueprint Dialogue System

Hi

I was hoping you’d be able to point me in the right direction on something I’m trying to achieve using your awesome dialogue system…

So far, I’ve got a widget that takes the user input from a text box, and stores that text as a variable “PlayerName” in the FirstPersonCharacter Blueprint. This works, and I can see the output on-screen using Print Text or a text block in the widget.

What I’m trying to achieve is using that variable to populate a Script Interpreter variable within the Variables array, so it can be used in dialogue.

Here’s what I’ve added to the Variables array:
ScriptInterpreter.PNG

That works, and displays the placeholder “CHANGE NAME” in dialogue:

CHANGENAME.PNG

Here’s my custom event in the FirstPersonCharacter Blueprint, which I would’ve thought should set that variable, but I always get the “CHANGE NAME” value showing in the dialogue:

CHANGENAME.PNG

Any ideas? Am I using the Set Variable function incorrectly? Do I need to run array actions on the array itself?

**EDIT: ** Don’t worry about it; I worked it out myself :slight_smile:

Cheers