gigantibyte Posted November 12, 2014 Share Posted November 12, 2014 Basic question I can't seem to find an answer for in the geck wiki. Would 2000 forms fit in a form list? Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted November 12, 2014 Share Posted November 12, 2014 I don't know of any limit, though obviously there is one. It's probably the value of a signed integer, so over 2 million forms. 2000 should be fine. Link to comment Share on other sites More sharing options...
gigantibyte Posted November 13, 2014 Author Share Posted November 13, 2014 Thank you kindly. I was worried it was something small, like 256. Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted November 14, 2014 Share Posted November 14, 2014 Well, there's a form list called "Everything" that holds over 1500 forms, so it's at least that high. Link to comment Share on other sites More sharing options...
gigantibyte Posted November 14, 2014 Author Share Posted November 14, 2014 Speaking of form lists, what happens if my mod adds another mod's form to a list via a script, then the player removes the mod the form was from? Will my mod's list be updated automatically, moving up all forms that were listed below it? Or will a "ghost" of the form still exist, causing the game to crash if it is called, or something more mundane like having a false item count? Link to comment Share on other sites More sharing options...
Hemingway308 Posted November 14, 2014 Share Posted November 14, 2014 When a mod is unloaded, all references to its forms are removed, so moving index-wise down (toward 0) any still present forms above it. Although, I've noticed bad forms being returned from an FL during the first few seconds (only) after game load, which may or may not be related. Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted November 15, 2014 Share Posted November 15, 2014 If the edit to a form list is made with ListAddForm, which is an NVSE function, then nothing bad will happen if a mod is removed. ListAddItem works ONLY on the in-memory list, and does not save with the save game data. AddFormToFormList however, which is a vanilla function, DOES save to the save game, and will cause issues upon removing a mod. You should ALWAYS use NVSE for editing form lists. Keep in mind that doing so will require you to make the edit every time the game is restarted, which is easily done by having a quest script running with the GetGameLoaded function checking first. Check the link in my signature for more information about NVSE. Link to comment Share on other sites More sharing options...
Recommended Posts