Jump to content

how to retrieve all items in container/objectreference?


Grudge

Recommended Posts

To best explain what I want to do I'll give example code

 

ItemsContainedbySomething[]------------------------------array of items in ObjectReference Something
Countforcontaineditems[]---------------------------------------How many of each item does Something contain
ObjectReference Property Something Auto
ItemsContainedbySomething[] = Something.GetAllItemlist()
Countforcontaineditems[] = Something.GetItemCount(ItemsContainedbySomething[])

 

Is there anything that would retrieve a list of all items, in particular LItemsLists and or Ingredients, and then retrieve a count over two seperate arrays that when I put Array 1 with Array 1 it returns the value it took. Does that make sense?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...