Difference between revisions of "UO.GetItem"

From OpenEUO
Jump to: navigation, search
m (added the required UO. prefix)
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.
  

Revision as of 13:57, 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.

UO.Property

UO.ScanItems