Difference between revisions of "UO.ScanItems"

From OpenEUO
Jump to: navigation, search
 
Line 1: Line 1:
 
   local nCnt = UO.ScanItems(bVisibleOnly)
 
   local nCnt = UO.ScanItems(bVisibleOnly)
 
Scans all objects in client memory and returns the number of items found.  Invisible objects may be excluded using the sole parameter.  Once objects are scanned, their parameters are discovered by iterating over the UO.GetItem command, increasing the index from 0 to nCnt - 1.
 
Scans all objects in client memory and returns the number of items found.  Invisible objects may be excluded using the sole parameter.  Once objects are scanned, their parameters are discovered by iterating over the UO.GetItem command, increasing the index from 0 to nCnt - 1.
 +
 +
snicker7 has a nice library simplifying item searching [http://www.easyuo.com/forum/viewtopic.php?p=366094#366094 FluentUO]. Also see Kal In Ex's [http://www.easyuo.com/forum/viewtopic.php?p=371124#371124 Finditem for OpenEUO]
  
 
[[UO.GetItem]]
 
[[UO.GetItem]]

Latest revision as of 15:31, 8 October 2010

 local nCnt = UO.ScanItems(bVisibleOnly)

Scans all objects in client memory and returns the number of items found. Invisible objects may be excluded using the sole parameter. Once objects are scanned, their parameters are discovered by iterating over the UO.GetItem command, increasing the index from 0 to nCnt - 1.

snicker7 has a nice library simplifying item searching FluentUO. Also see Kal In Ex's Finditem for OpenEUO

UO.GetItem