niston Posted February 14, 2021 Share Posted February 14, 2021 If I have a MiscObj c_Steel_Scrap, how do I obtain the corresponding component c_Steel by script? Link to comment Share on other sites More sharing options...
SKKmods Posted February 15, 2021 Share Posted February 15, 2021 My simple soluiton in junk scrapping mods is to have two formlists (a) Misc items and (b) Cmpo items with the same indexes: Int iThisScrapCount = Alias_GlobalScrapper.GetReference().GetComponentCount(pSKK_GSSComponentList.GetAt(iIndex)) DestinationREF.AddItem(pSKK_GSSScrapList.GetAt(iIndex), iThisScrapCount, abSilent = true) Sharded across 6 worker threads it can convert all 600 base game MISC objects (individual quantities are irrelevant) in 3 seconds. Link to comment Share on other sites More sharing options...
Recommended Posts