Background for Skyrim SE
Member of the DbSkseFunctions script
Form[]functionFormListToArray(FormListakList, intsortOption=0)NativeGlobal

Description

Documentation Comment

returns new form array that contains the forms in akList
Sort options are as follows. Note, to sort by editor Id reliably, po3 tweaks must be installed.
1 = by form name ascending,
2 = by form name descending,
3 = by form editor Id name ascending,
4 = by form editor Id name descending,
5 = by form Id ascending,
6 = by form Id descending


Caveats


Parameters

FormListakList

intsortOption=0


Examples

Auto-Generated Example

FormList myFormList__akList
int myInt__sortOption

Form[] returnedValue = DbSkseFunctions.FormListToArray(myFormList__akList, myInt__sortOption)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.