Thread: Tile Check
View Single Post
  #1  
Old 01-21-2010, 09:39 AM
Jman9912 Jman9912 is offline
Registered User
Join Date: Jun 2001
Location: North Carolina
Posts: 114
Jman9912 is on a distinguished road
Send a message via AIM to Jman9912
Tile Check

I know this has been asked a million times. But how can you check for a specific tile. I'm making a shovel and want to check the tile in front of the player. I have the algorithm for checking in front of the player. But what I have for checking for a grass tile is not working.

PHP Code:
 grassTile = {0x7FF};

    if (
grassTile in tile[ar[0],ar[1]]) { 
Reply With Quote