Talk:Persistence (Papyrus)

From the CreationKit Wiki
Revision as of 04:19, 21 March 2012 by imported>LukeH (Created page with "===What does NOT make reference persistent, that you may expect like me it does:=== - adding references to a FromList doesn't make them persistent even if you keep a reference...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What does NOT make reference persistent, that you may expect like me it does:

- adding references to a FromList doesn't make them persistent even if you keep a reference to the FormList in your script. Doing this may endup with GetAt(index) returning None from the list when changing cell and returning again the correct value when going back where you was when you added them. This was tested with Actor (dead actors) references but I expect it to be valid for any reference, yet I don't have time to test that now, I'm also curious how it works if you add the reference to an array.LukeH 05:19, 21 March 2012 (EDT)