Fills a rectangle of cells with a tile. Parts outside the map are skipped. Takes map (The map's handle), layer (The layer's number, from tmAddLayer or tmGetLayer), x (The tile column, from 0), y (The tile row, from 0), w (The width, in tiles), h (The height, in tiles), id (The tile id. 0 is empty, and ids from 1 are the tiles in the tileset). Returns nothing.
map
Int
layer
Int
x
Int
y
Int
w
Int
h
Int
id
Int
tmFill(map, ground, 0, 25, 200, 5, 1)