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?