CrazyPraetorian Posted May 20, 2021 Share Posted May 20, 2021 Hey, I'm wondering if there is a function that can run on a container to return all of its contents into an ObjectReference[] array. Thanks. Link to comment Share on other sites More sharing options...
dylbill Posted May 20, 2021 Share Posted May 20, 2021 I only know of a F4Se form[] function GetInventoryItems() . You'd have to filter for object references after. Link to comment Share on other sites More sharing options...
niston Posted May 20, 2021 Share Posted May 20, 2021 The other way is to move all items into a temporary container and have the Item Added Event on that container populate an array. But it won't work for > 128 items. Link to comment Share on other sites More sharing options...
Recommended Posts