Jump to content


PinkMemo

Member Since 23 Sep 2021
Offline Last Active Sep 23 2021 11:25 PM

Posts I've Made

In Topic: Aura NPC for BG:EE

23 September 2021 - 11:24 PM

maus, if you klicktalk to Aura again, it should start the correct talk if it's still pending.

 

That's the risk if dialogues are set and triggered by the same scriptblock - if the player gives a click order or something else in the game happens in exact the time in between and interrupts Aura's action, the dialogue will not be triggered but the variable will still be open, so it gets triggered the next time the dlg is called, either via clicktalk or if the next dialogue was supposed to happen - which then is open etc.

 

That is why the modding community developped the way of scripting dialogues so they always happen when they are supposed to, by spliting the activation (setting of the variable) and initiation parts into two scriptblocks as described by Kulyok in her tutorial "How to ensure your banters always run when you want them to"mcdvoice

 

(This, of course, led to a new sort of bug: the stutter bug. Which will only happen if there is a mismatch between the variables in the scriptblock and the trigger variable of the dialogue. The Problem maus encountered, however, just happens out of bad luck if the dialogues are triggered in one script block.)

 

I think it was a wrongly formatted text inside the mod, something like a text line that didn't make it into the tra file but contained a symbol.