Thread: Tiles...
View Single Post
  #5  
Old 03-27-2002, 04:12 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by screen_name
why would u want to use hex??

just use tiles[x,y] to find out the number of the tile??
I did that ...

So what I do is just add that to the script ?
NPC Code:

NPC Code:

function laydetail() {
brick=0x8A9;
tiles[px,py] = brick[0];
updateboard px-1,py-1,3,3;
}




What I dont understand is '0x8A9.' How do I achieve this value ? Cause when I do the 'tiles[x,y]' thing it does not even look remotely like that does...
Reply With Quote