I'm messing around with Imoen's override script in BG:EE. It does not come set in default game for any of her .cre (though it is referenced, and exists? has stuff for a cutscene involving the Dorn romance), I'm using the following tp2 instruction to add it.
COPY_EXISTING_REGEXP GLOB ~IMOEN.*.CRE~ ~override~ // Imoen (All CRE Files) PATCH_IF SOURCE_SIZE > 0x2d3 BEGIN WRITE_ASCII 0x248 ~IMOEN~ #8 // Add and/or Replace the Override Script END BUT_ONLY_IF_IT_CHANGES
However, the script seems to be almost immediately removed. If I put a dummy block in to just increment a global immediately, it works, but by the time I can quicksave, the override script is no longer attached to her .cre in the savegame.
It isn't the area file doing it, it isn't her join party dialog... Anyone have an idea?
*EDIT* Nevermind. My savedgame still had the party-imoen cre in it, even tho I hadnt met her, but not the candlekeep imoen. So the candlekeep imoen got the script and it 'worked temporarily', but the party-imoen never got it.