Talk:Save Files Notes (Papyrus)

There are no discussions on this page.

Regarding the last section about FormLists and removed Forms, I've found that the None entry is not necessarily, in fact, moved to the beginning of the list. I'm currently tracking NPCs in a FormList, and upon reload, the order of the entries appears to be the order of insertion, which, in my case, resulted in a None value at the end of the list.

For example, the following code Int j = 0 While j < TrackedFollowers.GetSize() Form f = TrackedFollowers.GetAt(j) If !f Debug.Trace("Follower[" + j + "] = NONE") Else Debug.Trace("Follower[" + j + "] = " + (f as Actor).GetBaseObject().GetName()) EndIf j += 1 EndWhile

Produced the following output in Skyrim 1.5.97 [01/21/2024 - 10:08:31PM] Followers: 3 [01/21/2024 - 10:08:31PM] InitWidgetLoader() [01/21/2024 - 10:08:31PM] Follower[0] = Atsuka Lylvieve [01/21/2024 - 10:08:31PM] Follower[1] = Aeowyn Fairbrass [01/21/2024 - 10:08:31PM] Follower[2] = NONE

I will update the page to remove the assertion about the position of None.

Return to "Save Files Notes (Papyrus)" page.