Formlist Scripting Question

This is workable but you need to use scripts and do so carefully

You can add forms to a Formlist at runtime, so long as it has less than 128 entries. Now, due to patches and what-not that sound like may be in play, you cant just do GetAt(9) or any other specific digit here since you dont know the order of the Forms. This is workable though. You can do a While scan. So let say here you are looking for a ref that uses criteria you know is unique to your Form you are looking for

Bool Found
Int Sweep = YourList.GetSize()
While !Found && Sweep as Bool
   Sweep -= 1
   Found = TheCriteriaIAmLookingForWasMet
EndWhile
If Found
   Return YourList.GetAt(Sweep)
EndIf
/r/skyrimmods Thread