PJMail Posted January 3, 2022 Share Posted January 3, 2022 (edited) Basically I have a formlist pre-populated in my Mod's esp.Script code now adds extra elements to the formlist (so the 'updated' formlist is recorded in my saves). What now happens if I update that original esp with extra elements in that formlist?Are any previous script added elements lost (i.e. does it 'revert') or is the update to the formlist ignored (my save's version of it is used)? I am assuming the second - but am I wrong? Does game code see a new date on the formlist record and 'force' a revert? Thanks everyone for responding to my (many) questions! (my testing is inconclusive - it suggests the former, but the issues with workshop menus suggest the later...) Edited January 3, 2022 by PJMail Link to comment Share on other sites More sharing options...
SKKmods Posted January 3, 2022 Share Posted January 3, 2022 I have also run into this issue for Formlists that are User populated in xEdit and dynamicaly script updated say with GetFormFromFile DLC content. I dont have a CONCLUSIVE answer but my established workaround is to generate a fresh ConsolidatedWorkingFormList at each OnPlayerLoadGame incase new DLC is added or the user has been hacking the user list between saves. UserxEditFormList + DLCGetFormFromFileFormList = ConsolidatedWorkingFormList Part of the issue is that new scripted formlist AddForm() seem to be inserted at index zero so all existing elements shift up one so changes likely cause index <> row content alignmnet issues. Link to comment Share on other sites More sharing options...
PJMail Posted January 3, 2022 Author Share Posted January 3, 2022 (edited) Running a fixed and a variable list is a very good idea - shame I didn't start off using that way... Anyway - done a few more tests and found a very unexpected result (for Bethesda) - they 'merge' the changes (caused by changing the esp) into the active list on game start!ie. if the formlist has 8 entries (6 defined in the esp and 2 added by script at some later time), then you update the formlist in the esp to have 8 entries and restart the game, the formlist then has 10 entries! The 2 'script added' ones are still the last 2! (and no - no script ran to add them back in at game start). Very unexpected but welcome... Edited January 3, 2022 by PJMail Link to comment Share on other sites More sharing options...
Recommended Posts