UO.GetCont

From OpenEUO
Revision as of 11:47, 8 October 2010 by 76.184.213.234 (Talk) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.