View Single Post
  #29  
Old 02-02-2004, 10:26 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Blue_Dragn
Another thing with board[] and tiles[]...

Is it possibile to use tiles[] to change the tile under the npc? because ive been working with trying to change tiles under and arround an npc and it goes like

NPC Code:

...
board[x+y*64] = 2079;
updateboard 0, 0, 10, 10;
...



So even when i used board[] or tiles[] with an array or value, it never changed the tile under the npc to anything else.

Notes:
In Theory "2079" is a tile value, i cant remember if it actually is or not, i just substituted that number.

I cant get either style to work, board[] or tiles[] to update the tiles under the npc
NPC Code:

tiles[30,30]=0x4A3;
updateboard 0,0,64,64;

__________________
-Kjetil Valen
Reply With Quote