[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
Difference between revisions of "Walking Through Inventory Items"
Jump to navigation
Jump to search
Walking Through Inventory Items (edit)
Revision as of 04:14, 15 February 2011
, 04:14, 15 February 2011→From the End to the Beginning
imported>KyleWollaston |
imported>TheNiceOne |
||
Line 13: | Line 13: | ||
... | ... | ||
set pCont to YourDesiredContainer | set pCont to YourDesiredContainer | ||
set | set invPos to pCont.GetNumItems | ||
While invPos > 0 | |||
set invPos to (invPos - 1) | |||
set | set pInvObj to (pCont.GetInventoryObject invPos) | ||
set pInvObj to (pCont.GetInventoryObject | |||
;Do whatever you want to do | ;Do whatever you want to do | ||
Loop</pre> | |||
==From the Beginning to the End== | ==From the Beginning to the End== |