To use EraseJournalEntry(xxxx) I need to reference either tra reference or the StringRef from dialog.tlk.
I will only know the tra if the journal entry is my own - the StringRef from dialog.tlk is different in each installation.
So, to erase a journal entry not my own I thus need a way to read the StringRef of the installation and either use them directly to replace xxxx in my script, or to convert StringRef into @trarefences to put into xxxx. And of course some method to detect journal entries in the first place.
Yes, BGT itself does something like that to clean up the BG1 journal entries for the BG2 part, but to be honest, I do not understand the code they use nor how the extracted result can be used in a script,
And how would a mod do both steps during installation?
Edited by Roxanne, 24 November 2015 - 12:44 PM.