Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; some control loop to only get items of specific types
- GetLoadedType EmptyTypeList <Type> ; gets objects of type http://www.gribbleshnibit.com/projects/NVSEDocs/#Form_Type_IDs
- let ar_Items := ListToArray EmptyTypeList
- While ((i+=1) < 255) ; loop through every load index
- ForEach ar_element <- ar_Items
- if eval (GetSourceModIndex ar_element["value"] == i)
- someContainerRef.AddItem ar_element["value"] <amount>
- endif
- Loop
- Loop
- ; end some control loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement