In bg1npc v24, there is a STATE_WHICH_SAYS to detect the correct dialogue state number for an interjection point, in this case Skie into Brilla in the Silbershield's home (in bg1npc_kagqst.tpa):
// Get state for X#SkieBrillaGuards
OUTER_SET SkieBrillaGuards = STATE_WHICH_SAYS 66 IN ~bg1npc/tra/%s/x#skint.tra~ FROM ~%tutu_var%BRILLA~
The compilation of x#skint.d is done before calling this tpa. Line @66 is present.
There is one player report that I think means that this didn't work and the value of %SkieBrillaGuards% is appearently at -1:
[tb#_compile_eval_buffer/bg1npc/phase2/dlg/x#kagqst_ee.d] LEXER ERROR at line 123 column 1-79
Near Text: -
invalid character [-]
-What would be the obvious reasons why this wouldn't work, i.e. why the STATE_WHICH_SAYS wouldn't match the dialogue state number? (Especially since it probably worked locally for at least AstroBryGuy).
-What can I do to make this more stable, or to not make it fail the install?
Thank you!