Justamerepleb Posted August 14, 2017 Posted August 14, 2017 Hi I'm trying to edit a few scripts in XLDS mod and come across this ;tell LAPF not to abort when health dropslet pairsArraySize := ar_Size xLoversPkrQuest.arPairslet pairsArrayIndex := 0while pairsArrayIndex < pairsArraySizelet xme := xLoversPkrQuest.arPairs[ pairsArrayIndex ]let zme := xLoversPkrQuest.arPairs[ pairsArrayIndex + 1 ]let pairsData := xLoversPkrQuest.arPairs[ pairsArrayIndex + 2 ]if xme == feeder;DebugPrint "XLDS: feeding preventing %n from aborting due to low health" feederlet pairsData["arXEquipData"]["healthMin"] := 0elseif zme == feeder;DebugPrint "XLDS: feeding preventing %n from aborting due to low health" feederlet pairsData["arZEquipData"]["healthMin"] := 0endiflet pairsArrayIndex += 3loop When compile it keep showing error "Left of dot must be quest or persistent reference" for any line that have "xLoversPkrQuest.arPairs", is there anyway to fix this? Note: the original xlds.esp run the script just fine, but if I edit the dialog or anything script related, this error show up.
Gaebrial Posted August 14, 2017 Posted August 14, 2017 Make sure you're loading the Lovers with PK.esp file as well as the esm. The quest xLoversPkrQuest is in the esp.
fejeena Posted August 14, 2017 Posted August 14, 2017 Have you started the CS with OBSE ? Without OBSE you can not save a esp with scripts with OBSE commands. You can not compile scripts and dialog scripts , and you get a error message if you try to save a esp with OBSE script commands. You must start CS with with the obse_loader.exe ( yes even if you have the steam Oblivion version ) Read my yellow Link below. Best use CSE version 51 ( in newer versions is nothing what you really need. v51 is completely sufficient ) CSE is much more stable as CS without the extender.
Justamerepleb Posted August 14, 2017 Author Posted August 14, 2017 Make sure you're loading the Lovers with PK.esp file as well as the esm. The quest xLoversPkrQuest is in the esp. That was easier than I expected, the original xlds.esp didn't include Lovers with PK.esp as Parent Master.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.