Thread: Tile replacing
View Single Post
  #4  
Old 04-08-2006, 04:34 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
I tried both updateboard and updateboard2 and nothing happened. I made a simple version of the script (intended to replace only one tile) and that didn't work either.

NPC Code:

if (playerenters) {
if (tiles[1,1] == 0x18E) {
tiles[1,1] = 0x0;
updateboard2 1,1,1,1;
}
}



The tile is changed while I'm playing on the level, but still reverts when I go back to the level editor.
__________________
Reply With Quote