Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   tiles[] and tilelayers issue (https://forums.graalonline.com/forums/showthread.php?t=134260750)

MrOmega 10-07-2010 11:22 PM

tiles[] and tilelayers issue
 
Just noticed this.

PHP Code:

player.level.tilelayers0].tiles[( player.64) + 1.5, ( player.64) + 2]; 

Now when your're on a gmap and the player's x or y is in between 0 and 2, it will return -1 regardless.


All times are GMT +2. The time now is 06:58 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.