Just one major bashing-head-against-wall moment this time, plus a couple of minor queries:
...................................................................
MAJOR ISSUE (to little me, anyway!)
In the Chrysta.CRE file present in the override directory immediately before she joins the party, the following variables are set:
Override script.......CHJOIN.BCS
Class script............None
Race script.............None
General script........None
Default script.........None
...
Dialog....................CHRYSTA.DLG
Her joining the party is controlled by the CHJOIN.BCS script, which begins with:
IF See([PC]) Range(Nearest([PC]),10) Global("ChrystaSpoken","GLOBAL",0) THEN RESPONSE#100 StartDialogueNoSet(Nearest([PC])) SetGlobal("ChrystaSpoken","GLOBAL",1) ApplySpellRES("SPTITLE",Myself) ApplySpellRES("SPCHRini",Myself) ChangeAIScript("Chrysta",6) SetDialog("Chrysta") END
As I understand it, this should set the "GENERAL" script to CHRYSTA.BCS (GENERAL script having the ID 6 from the SCRLEVEL.IDS file) and the dialog to CHRYSTA.DLG. And yet, when I examine her entries as an NPC for a savegame AFTER joining, I find:
Override script......CHJOIN.BCS
Class script...........DEFAULT.BCS
Race script............None
General script.......None
Default script........DPLAYER3.BCS
...
Dialog...................MULTIG.DLG
Does anyone have any idea what I am doing wrong THIS time? :-\
.....................................................
MINOR ISSUES
- The Chrysta.CRE file, before it is installed using a WeiDU .tp2 file "COPY" command, has death variable set to "chrysta". As soon as it is copied over to the override file it becomes "none". Where has it gone? ???
- And what IS so important about this death variable thingy anyway? I have read in a number of NPC-making tutorials how it must be set and get the feeling it is something pretty important - but I can't find anywhere that explains to me what it actually is or what its role is in the game or why it is so important? Anyone care to help me out here?