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...