Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#636403 09/11/17 11:36 AM
Joined: Nov 2017
I
apprentice
OP Offline
apprentice
I
Joined: Nov 2017
This code worked yesterday. I haven't changed it at all, but it doesn't work anymore.

[quote]IF
CharacterUsedItem(_Character, ITEMGUID_2m_WorkerHouseDoor_4_A_Item_000__000_5c82e26b-5ccf-8a41-264c-ab4f03baf355)
AND
CharacterIsPlayer(_Character, 1)
AND
PartyGetFlag(_Character, "Torya_Yelled", 0)
THEN
DisplayText(_Character, "Used door");
SelectAndStartDialog(_Character, CHARACTERGUID_Torya_Histerix_ae1ee6d9-0d66-4ea7-b83e-7ce882a8370f);[/quote]

The first time the PC opens the front door to the house, the elf inside will start her dialog. The DisplayText() call is a remnant from when I was first writing the script and getting it to work, but I can't very well say I've changed nothing if I don't leave it in there.

The SelectAndStartDialog() call seems to be where things are going wrong. Like I said, this worked yesterday. This morning, instead of appearing in green, the call looks black and doesn't appear in the list when I type a keyword+Ctrl+space.

I can't find any other APIs that begin a dialog. Has this one been deleted or renamed or moved? Why was it working literally yesterday and not today even though I made zero changes?

Joined: Nov 2017
I
apprentice
OP Offline
apprentice
I
Joined: Nov 2017
Figured it out! Well, I didn't figure out why SelectAndStartDialog() was working today and not yesterday, but I did find Proc_StartDialog(), which seems to work and is the one the wiki says I should be using, now that I know what to search for.


Moderated by  Larian_KVN 

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