The Black Wyrm's Lair - Forums

Mod development resources & discussion => Modder's Workshop => Topic started by: balduran on September 14, 2005, 12:36:39 PM

Title: Chain dialog problem
Post by: balduran on September 14, 2005, 12:36:39 PM
I noticed something rather strange about the Weidu CHAIN and CHAIN3 commands.

I was making the dialog between Azure and Trajan (from Azure NPC mod) and I used a CHAIN structure for it

QuoteCHAIN trajan 1
~hahohihi~
== azurej
~hahohiahi~
END

. I know Weidu is supposed to treat it like

QuoteIF ~~ THEN EXTERN file state

As long as the AI was turned off, the chain's working fine, but when I accidentally tried the conversation with AI ON, the chain broke as soon as Azure was supposed to answer to the first lines of the conversation started by Trajan. As you can see, there are no conditions for the dialog, only Azure and Trajan should be present, which makes it even stranger, having in mind that in azure's override script there are no IFs connected to the starting conditions of the dialog, only to its outcome.