These are all appropriately referenced in ToB dialogue files.
LOCALS yagareturntimer is referenced only 1 times.
GLOBAL closedemogorgontemple is referenced only 1 times.
GLOBAL fschallenge is referenced only 1 times.
GLOBAL knightsdead is referenced only 1 times.
GLOBAL belljar is referenced only 1 times.
When DLTCEP says "LOCAL," it looks to mean "not GLOBAL." Most of the LOCALS are area variables. It obviously doesn't check timer references and IncrementGlobal() actions, either.
I cannot find any use of yagareturntimer as a LOCAL
Both this and KnowBeholder seem to have been intentionally omitted. I've re-enabled them locally, but the resulting dialogue paths are pretty flakey.
GLOBAL talkedtocult is referenced only 1 times.
This appears to be another case of a late-addition cutscene (it controls a dialogue option for Cor that tells you to follow Anomen, but you have no choice to follow him and no chance to talk to Cor after you say OK to Anomen).
I just changed this to KeldornGuild (it controls when Keldorn is going to show up at the Radiant Heart building). It looks like he'd disappear forever before; I'm not sure what they were trying to do.
GLOBAL keldornguildwilliam is referenced only 1 times.
I saw this one before; I have absolutely no idea what's happening here. As far as I can tell, StaffPipe is never, ever set, but it isn't breaking the dialogue (maybe the CRE has an override dialogue; I'll have to check). This is used in the dialogue for the kobold shaman in the sewers, and I'm absolutely positive that the dialogue works (the only other top-level state is True() and I don't think I've ever been able to trigger it). So I'm not sure how Global("StaffPipe","AR0404",1) is evaluating to true...
LOCALS staffpipe is referenced only 1 times.
EDIT: it seems that, for some crazy reason, I had removed the SetGlobal("StaffPipe","AR0404",1) from PIPE04.BCS here (oops!). In a default installation, then, there is no issue with this variable (it's only ever set to enable this dialogue).
Although the variable here isn't important (it's never used and doesn't matter), I found another problem with UHMAY01.DLG
LOCALS minister4 is referenced only 1 times.
IF ~~ THEN BEGIN 38 // from: 37.1 37.0 Â SAY #32192 /* ~Yes... yes, of course. I... I think this is all I can offer you, my <PRO_LADYLORD>. I hope that is sufficient.~ */ Â IF ~~ THEN DO ~GivePartyGold(500) AddExperienceParty(28000)~ GOTO 36 END IF ~~ THEN BEGIN 39 // from: 37.2 Â SAY #32193 /* ~You... you are very kind. It is good to know there are valiant and generous folk still in Faerun...~ */ Â IF ~~ THEN DO ~AddExperienceParty(25000)~ GOTO 36 ENDAnd here I always thought I was doing the right thing by refusing his paltry reward. I set them both to 25000 (it's arguable, but I think BioWare would have done something like 27500 instead).
This may have been intentionally removed. After Korgan's first complaint, after six days he'll complain again. If KorganJ.DLG is updated, he should go to state 1, but he'll leave the party no matter what. I've restored it locally, since it's worth Korgan leaving if you get to hear him call you a lant-quaffer.
LOCALS korgancomplain is referenced only 1 times.
Edited by devSin, 14 March 2005 - 01:20 PM.