Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Dec 2014
journeyman
OP Offline
journeyman
Joined: Dec 2014
Does anyone know exactly what the speaker list does and how it's populated?

My best guess is that it focuses the camera on the character that you select, show's it portrait and name in the dialog box as the one speaking.

If that is the case, I would find this quite handy to easily build three way dialogs ( between 2 NPC and including a player) where the dilaog jumps back between the 3 character to create some "dynamism" with the dialogs.

My current work around is to start "auto dialogs" in the middle of dialogs ( Use ACTION StartDialog("DialogName") with only "Greeting" as a node and ending the dialog right away... No me gusta.

Joined: Oct 2014
B
enthusiast
Offline
enthusiast
B
Joined: Oct 2014
Three way dialogs are pretty easy. I can help out later on when I'm at my editor computer, but it didn't take me long to work out at all, and yes, the camera bounces back and forth between speakers during it.

Joined: Oct 2014
B
enthusiast
Offline
enthusiast
B
Joined: Oct 2014
Use

DialogStartThreeSpeakerDialog("Dialog",CHARACTER_Char1,CHARACTER_Char2,_Player);

Their speaker number is the order they're listed. Meaning, Char1 is speaker 1, Char2 is speaker2 and the player would be speaker 3.

Add dialog as usual, and on each line set the "Speaker" for the NPCs, the players options should be set up as usual, with the "Owner" being set to #3.


Last edited by Burgee; 13/01/15 03:30 AM.
Joined: Dec 2014
journeyman
OP Offline
journeyman
Joined: Dec 2014
Thanks for the information!

So I can use the speaker dropdownlist to select a number which will reflect the order in which I launched the event?
EX:
DialogStartThreeSpeakerDialog("Dialog",_VICTIM,_GUARD,_Player);

In this case:
speaker1 = _VICTIM
speaker2 = _GUARD
speaker3 = _Player

I don't have time to try it out now but I'll definitely play around this tomorrow morning.

Joined: Oct 2014
B
enthusiast
Offline
enthusiast
B
Joined: Oct 2014
Yep, you got it. They won't be labeled with names, but they'll pan the camera to the correct speaker. Don't forget you'll need to define _Player somehow.

Also, for very dynamic conversations don't forget NPCs can still walk around during Dialog with some scripting and some global events and triggers.

Last edited by Burgee; 13/01/15 04:19 AM.
Joined: Dec 2014
journeyman
OP Offline
journeyman
Joined: Dec 2014
Awesome! You da man!


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5