temnix Posted September 17, 2016 Author Share Posted September 17, 2016 Okay, will try... Link to comment
temnix Posted September 17, 2016 Author Share Posted September 17, 2016 Nope, doesn't work. The delay works, but the old record remains. Is there something missing? Are the entry types correct? Do I need JOURNAL somewhere, maybe? Link to comment
Roxanne Posted September 17, 2016 Share Posted September 17, 2016 Nope, doesn't work. The delay works, but the old record remains. Is there something missing? Are the entry types correct? Do I need JOURNAL somewhere, maybe? It is not related to this. problem in BGEE (mot using BG2EE) may be in the order of things I would change it to IF ~~ THEN DO ~EraseJournalEntry(@001) Wait(2) AddexperienceParty(50) TakePartyGold(100) GiveItem("DUSTSC_#",LastTalkedToBy()) Wait(2) GiveItem("JUNKSC_#",LastTalkedToBy()) Wait(2) AddJournalEntry(@002,QUEST_DONE) Wait(2) EscapeAreaDestroy(10)~ EXIT Also look up your compiled dialogue after mod installation in NI to check if the STRREF in AddJournalEntry(number,QUEST) and EraseJournalEntry(number) are really identical. Link to comment
temnix Posted September 19, 2016 Author Share Posted September 19, 2016 I have a bunch of similar strref entries for this quest. From the different edits. There have been quite a few uninstalls and reinstalls, and failed installs, so I have these left-over strings in the tlk. But how do I tell what links where? More importantly, would the right entry get added and erased for other players who install the mod? You say the code is right... Link to comment
Roxanne Posted September 19, 2016 Share Posted September 19, 2016 I have a bunch of similar strref entries for this quest. From the different edits. There have been quite a few uninstalls and reinstalls, and failed installs, so I have these left-over strings in the tlk. But how do I tell what links where? More importantly, would the right entry get added and erased for other players who install the mod? You say the code is right... The mod added strref are created anew for each installation. A player installing your mod will have unique references in his game. As those players do not mod your mod, there will be no issues for them. Example - your two journal entries are converted by weidu into @001 >> 333666 and @002 >>> 333667 (next free strrefs in your game) In the game, the script is using AddJournalEntry(333666,QUEST) and EraseJournalEntry(333666) - you can verify this in the dlg-files that are compiled from your d-files. The issue you may have had with installing, revising, reinstalling etc may have been that Add and Erase were no longer using the same reference. Anyone (including yourself) doing an installation on a different game will get all new refs and no trouble. Link to comment
temnix Posted September 20, 2016 Author Share Posted September 20, 2016 That's good to hear, thanks. I think I can test by making a new quest with tra entries not used before. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.