Difference between revisions of "UO.GetCont"
From OpenEUO
(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...") |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | local | + | local sName,nX,nY,nSX,nSY,nKind,nId,nType,nHP = 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 | + | Returns values associated with the gump at location nIndex on the 'gump heap'. nIndex 0 is the topmost gump. Returned values are the name,x screen coordinate, y screen coordinate, width, height, gumpkind, charid, chartype and char hp value. If nIndex >= number of gumps, UO.GetCont returns nil. |
+ | |||
+ | [[UO.ContTop]] |
Latest revision as of 13:20, 19 October 2010
local sName,nX,nY,nSX,nSY,nKind,nId,nType,nHP = 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 name,x screen coordinate, y screen coordinate, width, height, gumpkind, charid, chartype and char hp value. If nIndex >= number of gumps, UO.GetCont returns nil.