Lists - maximum length and stability

Post » Wed Jun 20, 2012 11:56 pm

So, two somewhat noobie questions about lists:
  • Is there a maximum length for form lists, leveled lists etc? If there is, what is it for each?
  • Any widely known bugs/issues/limitations that I should know of when modifying lists in-game via script?
I know I'm getting some odd behavior with RemoveAddedForm() and Revert() in form lists (like http://www.gamesas.com/topic/1355412-help-removeaddedform-bugged-fails-after-first-use-data-corruption-ensues/page__fromsearch__1 and http://www.gamesas.com/topic/1365445-bug-formlist-functions-seem-to-break-under-certain-conditions/page__fromsearch__1)and I can't get the game to save stuff added to leveled item lists via script. I've also read about form lists getting unstable in some savegames, glitching mods that use them. I'm afraid it's only gonna get worse. Does it really get worse? Please point me to some info before I play with these any further. It's getting frustrating here so I'd appreciate any input.
User avatar
Sophie Louise Edge
 
Posts: 3461
Joined: Sat Oct 21, 2006 7:09 pm

Post » Wed Jun 20, 2012 7:28 pm

Some personal findings on the form lists:
- Adding references to form lists won't make the references persistent and strange things may happen: when moving to another location getAt(index) will return null and moving back will return the value again. Details here: http://forums.nexusmods.com/index.php?/topic/623436-formlist-strange-anomaly/ will check your links when I have a little time to see if it may be related.
- Form lists are actually sets (linked sets or something from other programming languages): you can't add the same reference twice neither from CK with drag and drop, neither from papyrus (it will give no error but won't add same item twice)
User avatar
Emily Rose
 
Posts: 3482
Joined: Sat Feb 17, 2007 5:56 pm


Return to V - Skyrim