Difference between revisions of "UO.GetItem"
From OpenEUO
m (added link to finditem sysvars) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | local nID,nType,nKind,nContID,nX,nY,nZ,nStack,nRep,nCol = GetItem(nIndex) | + | local nID,nType,nKind,nContID,nX,nY,nZ,nStack,nRep,nCol = UO.GetItem(nIndex) |
Returns values associated with a item denoted by nIndex after a UO.ScanItems command. Returned values are the id,type,kind,containing item id (if any),x,y,z, stack amount,reputation, and color. x,y, and z may be gump-relative or global coordinates depending upon whether the item is in a container or not. | Returns values associated with a item denoted by nIndex after a UO.ScanItems command. Returned values are the id,type,kind,containing item id (if any),x,y,z, stack amount,reputation, and color. x,y, and z may be gump-relative or global coordinates depending upon whether the item is in a container or not. | ||
+ | |||
+ | See Easyuo documentation for description of returned values: http://wiki.easyuo.com/index.php/Documentation#FindItem | ||
+ | |||
+ | [[UO.Property]] | ||
[[UO.ScanItems]] | [[UO.ScanItems]] |
Latest revision as of 13:02, 3 March 2012
local nID,nType,nKind,nContID,nX,nY,nZ,nStack,nRep,nCol = UO.GetItem(nIndex)
Returns values associated with a item denoted by nIndex after a UO.ScanItems command. Returned values are the id,type,kind,containing item id (if any),x,y,z, stack amount,reputation, and color. x,y, and z may be gump-relative or global coordinates depending upon whether the item is in a container or not.
See Easyuo documentation for description of returned values: http://wiki.easyuo.com/index.php/Documentation#FindItem