Difference between revisions of "UO.GetItem"
From OpenEUO
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 | + | 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.ScanItems]] | [[UO.ScanItems]] |
Revision as of 10:52, 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 item is in a container or not.