Originally Posted by Darth Hayze
Does it have to be one line? It wouldn't work say, for the banter dialog to have that just happen instead of stopping the game with a cutscene?
Instead of having an individual dialogue file for each line, executing each one to be played in a sequential order, you could have one script fire off all the lines from their central location in the dialog.tlk.
For instance, say I wanted to have Bastila and Carth's conversation about the Vulkars capturing her. I'd look up the StrRef numbers for each of the lines (they're shown right above the text in tk102's dialogue editor) and paste them into a script like the one below:
object oCarth = GetObjectByTag("Carth");
object oBast = GetObjectByTag("Bastila");
This would make Carth "shout" his first line of the conversation, then make Carth "shout" Bastila's reply and then make Carth "shout" his reply again. Essentially the "shouting" would be the pop-up dialogue bubble - at least that's my understanding of it. I tried working with bark string in one of my projects and it didn't work, but I was using it in a rather tenuous situation to begin with so there could've been other problems causing it not to work.
Now I had Carth do all the "shouting" because this way, in theory, the barking of each line gets added to his action queue - which means line 38792 would have to wait for line 38791 to finish playing before being barked. If I had Bastila actually assigned to bark her line she'd do it at the same time Carth does his first line, which would be pretty weird.
Anyway, like I said, I haven't worked much with bark string before so this may or may not work - hopefully it does.