Jump to content

Recommended Posts

Posted

According to the wiki for ListAddReference, it says not to use that function and to use AddFormToFormList instead if you want it to persist across save games. Is there something special I have to do? It's definitely adding the ref to the list, but it doesn't seem to be sticking across saves.

 

Thanks

Posted

I have to say, that I used ListAddReference quite a bit and never noticed any loss of list entries across saves. That said, I used the list to store ref-walk enemies and apply a variety of shader FX to various types. So, I couldn't make a save while the enemies were alive. Though I am pretty sure the dead enemies were saved and still had the shader effects on them when I reloaded. Although, it is possible that the script was just remaking the list from a new ref-walk upon reloading.

 

So... I guess, what I am really saying is, I don't know. (Yeah, THAT was no help, sorry)

 

I am not sure why listadd (which appends) and addforto (which prepends) would act any different from each other when it comes to storing info across save games. After all, the info is stored in a custom List that you create in the geck. Either that list is stored from the game state, or it is loaded from scratch. I can't see how using one or the other would change that fact, as they both use the same list.

 

Perhaps this is a question best answered by the FOSE team (now the SKSE team on Skyrim?)

Posted (edited)

My mistake, I was actually using ListAddForm and not AddFormToFormList.

 

It was very late and you have to completely exit the game to know for sure (some will stick if you only drop back to the main menu and not exit entirely). :wink:

 

AddFormToFormList seems to be persistent. ListAddForm definitely is not.

 

Thanks

Edited by Ez0n3
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...