Difference between revisions of "Walking Through Inventory Items"

no edit summary
imported>TheNiceOne
imported>TheNiceOne
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:


There are two ways to walk an inventory:
There are two ways to walk an inventory:
#From the end to the beginning - Easier to use with RemoveItem, but slower
#From the end to the beginning - Easier to use with RemoveItem
#From beginning to end - faster
#From beginning to end


==From the End to the Beginning==
==From the End to the Beginning==
Line 49: Line 49:
==See Also==
==See Also==
*[[GetInventoryObject]]
*[[GetInventoryObject]]
*[[Label]]
*[[GetNumItems]]
*[[GetNumItems]]
*[[While]]


[[Category:Useful Code]]
[[Category:Useful Code]]
[[Category:Standardized Snippets]]
[[Category:Standardized Snippets]]
Anonymous user