Attach lines of audio dialogue to CSV

Just started using unreal so apologies if this has been asked.

I have set up a dialogue system using the tutorial in the link below and it works a treat.

Is there a way of attaching audio files to the spreadsheet and linking them to the lines of dialogue?

thanks in advance

I politely refuse to watch a 20min tut :slight_smile: but if you’re using a Data Table, you can make the audio bit part of the struct the DT is using. Just add one more variable to the struct.

If you’re going to do the editing externally in a word processor and are unsure about the data formatting, a good way to figure it out is to export the DT as *.csv - it will then have correctly formatted fields.

hi thanks for the response - how would i tell my NPC blue print to play that cell of the data table?

For something super simple in a DT, you could do that:

250567-capture.png

Calling this event with Mike01 would play the sound:

You will, of course, need more data to make it usable, just an example here.

For something more complex:

For something even more complex, you should check the marketplace - it has entire systems set up to cater for this.


Again, it all depends on how complex it’s going to be. If you’re doing a game with 500 lines of dialogue, you’ll be fine with a simple DataTable.

If you need 15000 lines of branching dialogue in EFIGS + Scandi, better hire a couple of engineers / studio. :slight_smile:

that worked, many thanks!