Thread: Tile Checking
View Single Post
  #6  
Old 07-22-2008, 05:16 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Heh... nothing. Typically it's for delta but there is no delta in this case.

Tiles[x,y] is what you're looking for... which is the same. Now what you do is...

tiles[x,y](x and y are... well, the x and y you're checking) == hex.

So...
if (tiles[x,y] in {0x31,0x1A4}) {}
Would check if the tiles at the given position match what you provided in the original post.
Reply With Quote