Difference between revisions of "UO.TileGet"

From OpenEUO
Jump to: navigation, search
 
Line 1: Line 1:
  local nType,nZ,sName,nFlags = TileGet(nX,nY,nIndex[,nFacet])
+
  local nType,nZ,sName,nFlags = UO.TileGet(nX,nY,nIndex[,nFacet])
Retrieves the tile type, z value, name, and flags for the indexed tile at the given location. Use [[UO.TileCnt]] to determine how many tiles are indexed at a particular location. The default value for facet is the current facet. Otherwise follows the values for [[UO.CursKind]]
+
Retrieves the tile type, z value, name, and flags for the indexed tile at the given location. Use [[UO.TileCnt]] to determine how many tiles are indexed at a particular location. The default value for facet is the current facet. Otherwise follows the values for [[UO.CursKind]]. [[UO.TileInit]] must be called prior to using UO.TileGet
  
 
[[UO.TileCnt]]
 
[[UO.TileCnt]]
  
 
[[UO.TileInit]]
 
[[UO.TileInit]]

Latest revision as of 10:22, 19 March 2011

local nType,nZ,sName,nFlags = UO.TileGet(nX,nY,nIndex[,nFacet])

Retrieves the tile type, z value, name, and flags for the indexed tile at the given location. Use UO.TileCnt to determine how many tiles are indexed at a particular location. The default value for facet is the current facet. Otherwise follows the values for UO.CursKind. UO.TileInit must be called prior to using UO.TileGet

UO.TileCnt

UO.TileInit