This is the code of the chain:
CHAIN kiral 1
~How are you?~
== azurej IF ~~ THEN
~Kiral! What are you doing here?~
== kiral IF ~~ THEN ~I was looking for you.~
== azurej IF ~~ THEN ~What for? Last time we saw each other, you told me I cannot be allowed inside Suldanessellar. Did you prehaps come to tell me that this has changed?~
== kiral IF ~~ THEN ~My reason for being here hase little to do with Suldanessellar or my people. I wanted to tell you that one of our scouts spotted Trajan's location.~
== azurej IF ~~ THEN ~You know where the traitor is? You must tell me, now!~
END kiral 2
There also seems to be a problem with two of the scripts which are supposed to start dialogues. They also seem to work only with AI OFF:
IF
Global("AzureInParty","GLOBAL",1)
See("Azure")
Global("SharoMet","GLOBAL",0)
THEN
RESPONSE #100
MakeGlobal()
SetGlobal("SharoInParty","GLOBAL",1)
ActionOverride("Azure",StartDialogNoSet([PC]))
END
and
IF
NumTimesTalkedTo(0)
See("Azure")
!StateCheck("Azure",STATE_SLEEPING)
THEN
RESPONSE #100
MakeGlobal()
StartDialogNoSet("Azure")
END
The first quote is from the override script of Azure's guardian wolf, the second - from the script of an elf, who starts the chain above.
Is it possible that the problem is in the script position in the cre files? I mean, does it make difference if I place it as a GENERAL, DEFAULT, RACE or CLASS script. I know that the Override script is supposed to work with higher priority then the other scripts, but in my case it seems that it si actually being "overriden" by the other scripts when the AI is ON.