Download

Help with dialogue

I’m trying to do a dialogue Persona-style system, in which if you collide with an NPC, it states their name and the “press x to talk to them”. I’ve done the part of the collision, however, I have no idea to make them state their unique name and then their unique dialogue. Any ideas?

The name and dialog would be stored in something like a csv type sheet that the actors can access and refer to.
Assuming you are using instanced actors.

If you are not, then each actor is it’s own Actor Class blueprint instance, which means you can create the variables containing things and the dialogue internally.