Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-19-2011, 06:23 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by Devil_Lord2 View Post
Usually the tiles are a few numbers or something such as 0x1B0...
You'd have to go offline and to the tile array thing..

I've noticed depending if you get it from offline mode, or from online it changes from 0x1B0 to numbers... try..

player.chat=level.tiles[x,y,]; which would probably give you the numbers.. I hope that works.. if you'd like a square you'd have to build up a for loop..
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.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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