Red Carnelian Posted December 13, 2007 Share Posted December 13, 2007 Dark side has a 2da file CHPTXT8.2DA whose contents are: 2DA V1.0 NONE 0 1 SWITCH DEFAULT DEFAULT DEFAULT 99990 99991 this file was copied over into the override at install and patched like so using the TP2 file COPY ~ds/2DA/chptxt8.2DA~ ~override/chptxt8.2DA~ REPLACE ~99990~ @1300 REPLACE ~99991~ @1301 BUT_ONLY_IF_IT_CHANGES @1300 and 1301 are journal entries for the start of DS. Problem is I'm not having any joy getting this kind of thing working for the Tutu. I get the following parse error. [ds/tutu/snips/_ar2300.baf] PARSE ERROR at line 49 column 37-37 Near Text: ) Not enough arguments to [AddJournalEntry]. Recovering. _ar2300.baf is the script that contains the code IF Global("TalkedJet","GLOBAL",1) Global("DSOTSC","GLOBAL",5) THEN RESPONSE #100 SetInterrupt(FALSE) IncrementChapter("CHPTXT8") Wait(2) SetInterrupt(TRUE) SetGlobal("Chapter","GLOBAL",5) AddJournalEntry(@1301) SetGlobal("DSOTSC","GLOBAL",1) END How can I get around this by just using the TP2 file? Link to comment
devSin Posted December 13, 2007 Share Posted December 13, 2007 Modify the script. AddJournalEntry(I:StrRef*,I:Type) -- you'd want AddJournalEntry(@1301,0) (or 1 or 2 or 4 or whatever; look at JOURTYPE.IDS for the available types). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.