Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#551243 08/09/14 09:57 AM
Joined: Aug 2014
P
Platuni Offline OP
stranger
OP Offline
stranger
P
Joined: Aug 2014
There are several ways to trigger dialogue, if your NPC is not global all you have to do is assign your dialogue in the side bar.

However, when you make the NPC global you'll find that you cannot use the previous method.

Here are some ways to make it work:

1. A global script.
Make a new Goal in the Story Editor, name it "Start"
In the KB section, copy paste this then build:

IF
DialogStartRequested( _Char, _Player)
THEN
StartDefaultDialog( _Char, _Player);

You can now assign Dialogue just as before.
=====================================================
If you want more advanced dialogue, this is how you execute it:

Two/Three Speaker Dialogue

The script for a three Speaker Dialogue would be:

IF
DialogStartRequested(CHARACTER_YourNPC1, _Player)
THEN
DialogStartThreeSpeakerDialog("YourDialog",CHARACTER_YourNPC1,CHARACTER_YourNPC2, _Player);

Now, for this all you need is global turned on and the correct character names.

In the dialogue window, there are some important things to remember:
(Assuming you know how to make a basic dialog)
[Linked Image]
(If it's hard to read, right click and open in new tab)

I hope this helps, if you have any questions, i'm happy to answer.

Last edited by Platuni; 08/09/14 10:03 AM.
Joined: Aug 2014
M
Mag Offline
journeyman
Offline
journeyman
M
Joined: Aug 2014
How do you make the exclamation point appear above a characters head to indicate there is an opportunity for dialog?

Joined: Aug 2014
M
Mag Offline
journeyman
Offline
journeyman
M
Joined: Aug 2014
Found it. It looks like you loop this effect with:

PlayEffectAtCharacter("FX_GP_ExclamationMark_A",CHARACTER);

Joined: Sep 2014
A
stranger
Offline
stranger
A
Joined: Sep 2014
I followed your guide, but I can't end dialogues with global characters. If I try the same with non-globals, I can end dialogues just fine. Any suggestions?


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