Thread: Tiles script
View Single Post
  #9  
Old 03-30-2002, 04:44 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by Stefan
When you move over a tile in the editor it
gives you the tile on the status bar on the lower
right corner. It gives you a (x,y), to convert it
to a tile number just do x+y*16, or in hex
0x[y as hex number][x as hex number]
ok so the grass tile is x=15 y=31

so

15+31*16=511
or
(15+31)*16=736

neither one works, with that tile command so am i doing somet wrong?
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote