Posted by: jastey
« on: September 12, 2017, 03:03:40 AM »Haha! None of the above is needed. Using:
OUTER_SET jaheira_state = STATE_WHICH_SAYS 90 IN ~bg1npc/tra/%s/x#jaqu.tra~ FROM ~JAHEIRAJ.dlg~
will just grab the language folder bg1npc was installed in, independent on which language the current mod is supposed to be installed in. (In case someone said it before: I didn't understand it until I saw it used in Garrick Tales of a Troubadour).
This is very cool! So, checking for the mod which state is supposed to be patched is sufficient not to run into any errors or warnings.
OUTER_SET jaheira_state = STATE_WHICH_SAYS 90 IN ~bg1npc/tra/%s/x#jaqu.tra~ FROM ~JAHEIRAJ.dlg~
will just grab the language folder bg1npc was installed in, independent on which language the current mod is supposed to be installed in. (In case someone said it before: I didn't understand it until I saw it used in Garrick Tales of a Troubadour).
This is very cool! So, checking for the mod which state is supposed to be patched is sufficient not to run into any errors or warnings.