Difference between revisions of "UO.GetItem"

From OpenEUO
Jump to: navigation, search
(Created page with " local nID,nType,nKind,nContID,nX,nY,nZ,nStack,nRep,nCol = GetItem(nIndex) Returns values associated with a item denoted by nIndex after a UO.ScanItems command. Returned values ...")
 
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 = 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 scanned was 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 scanned was in a container or not.
 +
 +
[[UO.ScanItems]]

Revision as of 11:51, 8 October 2010

local nID,nType,nKind,nContID,nX,nY,nZ,nStack,nRep,nCol = 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 scanned was in a container or not.

UO.ScanItems