Hello,

Is there a way to get all items of a players inventory from Ork in a script?


Thank you
  • Sure:
    List<IShortcut> items = new List<IShortcut>();
    ORK.Game.ActiveGroup.Leader.Inventory.GetAll(true, false, true, true, true, true, true, true, -1, false, ref items);


    This'll get everything, currencies, items, equipment, recipes, AI equips.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you! Works like a charm
Sign In or Register to comment.