Sets a tile's flags, bits that mean whatever your game wants them to, such as 1 for solid and 2 for water. tmBoxHit, tmRayCast and the probes search by them. Takes tileset (The tileset's handle), id (The tile id. 0 is empty, and ids from 1 are the tiles in the tileset), flags (The flag bits). Returns nothing.
tileset
Int
id
Int
flags
Int
tmSetTileFlags(tiles, 5, 1)