Hi
I am trying to get some info off the tile which tells if there is water or something else blocking the tile but to my surprise i haven't found function to do this. I'm looking for script solution
i thought it might have something to do with $gameMap.layeredTiles but I don't know what the value in tile represents. It's probably some type of mask
anyone knows?
thx!
I am trying to get some info off the tile which tells if there is water or something else blocking the tile but to my surprise i haven't found function to do this. I'm looking for script solution
i thought it might have something to do with $gameMap.layeredTiles but I don't know what the value in tile represents. It's probably some type of mask
JavaScript:
var tilesz = $gameMap.layeredTiles(xPos,yPos);
for(let ti = 0; ti < tilesz.length; ti++)
{
var tile = tilesz[ti];
}
anyone knows?
thx!