Lua Events/OnDoTileBuilding2

From PZwiki



Event

OnDoTileBuilding2

Description

Triggered when a building tile is being set.

Parameters

  • IsoChunk The chunk in which the tile is being set.
  • Boolean Whether the tile should be rendered or not.
  • Integer The x coordinate of the tile being set.
  • Integer The y coordinate of the tile being set.
  • Integer The z coordinate of the tile being set.
  • IsoGridSquare The grid square where the tile is being set.

Examples

local function OnDoTileBuilding2(chunk, render, x, y, z, square)
	-- Your code here
end

Events.OnDoTileBuilding2.Add(OnDoTileBuilding2)

See also