892 {
894 if (!inv)
895 return;
898 int nItems = items.Count();
899 for(int i = 0; i < nItems; ++i)
900 {
903 if (data)
904 {
906 }
907 }
908 }
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