FredSRichardson Posted January 15, 2006 Share Posted January 15, 2006 I just thought I'd make a note of this in case it wasn't common knowledge. As noted by Avenger in the ARE v9.1 thread, actor names override death variables in IWD1&2. However, as noted in IESDP, there are 3 death variables locations in the CRE v9.0 file, and I've come across an instance where one of these other ones gets used in IWD1. Currently DLTCEP doesn't display these other death variables. SAL8008.CRE (a Salamander in area AR8008.ARE) has the script variable "8008_Salamanders_Dead" stored at offset 0x29e ("Tertiary death variable" according to IESDP). It so happens that in AR8008.ARE there are 12 actors that use this CRE, and the death variable is referenced in a few BCS scripts (e.g. AR8001.BCS) to see if all 12 Salamanders have been killed:: IF GlobalLT("BEORN_QUEST","GLOBAL",3) GlobalGT("8008_SALAMANDERS_DEAD","GLOBAL",11) !Global("SHIKATA_DEAD","GLOBAL",0) THEN RESPONSE #100 SetGlobal("BEORN_QUEST","GLOBAL",3) Continue() END Since I'm trying to do the iwd1 -> iwd2 conversion, this presents a slight problem. There's only room for one death variable in the CRE v2.2 files. But I know they have to do the same test to make sure you've cleared out targos. On a side note, I found another team script mechanism in iwd1. They clearly re-worked this for iwd2 (it looks much cleaner). I'll have to see if there's anyway I can substitute one for the other. Link to comment
This topic is now archived and is closed to further replies.