View Single Post
  #5  
Old 06-09-2014, 06:18 PM
blackbeltben blackbeltben is offline
Registered User
Join Date: Aug 2011
Posts: 83
blackbeltben is on a distinguished road
Quote:
Originally Posted by Jakov_the_Jakovasaur View Post
temp.playerTiletype = tiles[player.x + 1.5, player.y + 2]; is just defining a temporary variable as whatever is returned by tiles[player.x + 1.5, player.y + 2], which will be unset once the current function process ends

all you need to do is:

PHP Code:
if (tiles[player.1.5player.2] == 1x1) {
 
player.chat "Found Tile!";


error: unexpected symbol x1 at line 68: if (tiles[player.x + 1.5, player.y + 2] == 1x1) {

Don't think the check you gave me is correct..
Reply With Quote