Difference between revisions of "UO.GetCont"

From OpenEUO
Jump to: navigation, search
(Created page with " local nKind,sName,nX,nY,nSX,nSY,nId,nType = UO.GetCont(nIndex) Returns values associated with the gump at location nIndex on the 'gump heap'. nIndex 0 is the topmost gump. Ret...")
 
Line 1: Line 1:
 
  local nKind,sName,nX,nY,nSX,nSY,nId,nType = UO.GetCont(nIndex)
 
  local nKind,sName,nX,nY,nSX,nSY,nId,nType = UO.GetCont(nIndex)
 
Returns values associated with the gump at location nIndex on the 'gump heap'.  nIndex 0 is the topmost gump.  Returned values are the kind,name,x screen coordinate, y screen coordinate, width, height, gump id, and gump type. If nIndex >= number of gumps, UO.GetCont returns nil.
 
Returns values associated with the gump at location nIndex on the 'gump heap'.  nIndex 0 is the topmost gump.  Returned values are the kind,name,x screen coordinate, y screen coordinate, width, height, gump id, and gump type. If nIndex >= number of gumps, UO.GetCont returns nil.
 +
 +
[[UO.ContTop]]

Revision as of 12:56, 9 October 2010

local nKind,sName,nX,nY,nSX,nSY,nId,nType = UO.GetCont(nIndex)

Returns values associated with the gump at location nIndex on the 'gump heap'. nIndex 0 is the topmost gump. Returned values are the kind,name,x screen coordinate, y screen coordinate, width, height, gump id, and gump type. If nIndex >= number of gumps, UO.GetCont returns nil.

UO.ContTop