View Single Post
  #5  
Old 04-19-2011, 11:09 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by MrOmega View Post
Yea, I have the formula to convert a tileset into it's hexadecimal, my problem basically is that when reading a tile that doesn't exist, it reads it as NULL or zero. Which is actually a tile on the tileset. I was just hoping for a way to differentiate between a NULL tile and the actual tile 0.
Try using player.levels.tiles[x, y].type() to check for a difference.
__________________
Quote:
Reply With Quote