874 {
876 if (!inv)
877 return;
880 int nItems = items.Count();
881 for(int i = 0; i < nItems; ++i)
882 {
885 if (data)
886 {
888 }
889 }
890 }
proto native bool EnumerateInventory(InventoryTraversalType tt, out array< EntityAI > items)
enumerate inventory using traversal type and filling items array
script counterpart to engine's class Inventory
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
InventoryTraversalType
tree traversal type, for more see http://en.wikipedia.org/wiki/Tree_traversal