Background for Skyrim SE
Member of the SPE_Form script
Form[]functionFlattenLeveledList(LeveledItemakList)NativeGlobal

Description

Documentation Comment

Given a leveled list, return a single array containing all possible drops from this list
The function recursively finds all items, including those contained in other leveled lists of any depth
That is, it is guaranteed that the returned Form[] array will no longer contain any LeveledItem objects


Caveats


Parameters


Examples

Auto-Generated Example

LeveledItem myLeveledItem__akList

Form[] returnedValue = SPE_Form.FlattenLeveledList(myLeveledItem__akList)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.