View Single Post
  #10  
Old 08-02-2001, 01:25 PM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by thotijn2
i know that liquid
but i mean i wanted to know if i can change more tiles in one code so i don't have to copy and paste a million times
but now i tried this and it worked

board[this.x+this.y*64]=tilex+tiley*16;
updateboard this.x,this.y,1,1;

now add a timeout out and stuff and you're done...
please correct me if i'm wrong..
I would just make a function and call it netime i need to change something
like I would make

NPC Code:

this.tilex=20;
this.tiley=18;
this.x=10;
this.y=30;
replacetile();

function replacetile() {
board[this.x+this.y*64]=this.tilex+this.tiley*16;
updateboard this.x,this.y,1,1;
}

__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote