View Single Post
  #8  
Old 04-09-2003, 08:47 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by Kaimetsu


The best thing you could do is to examine screen_name's adaptation. Loops are indispensable for this kind of program.
I just looked over the script and I feel bashful... I made a mistake. The below includes the correction

NPC Code:

//#CLIENTSIDE
if (created || timeout) {
timeout = .05;
for (a=0;a<22;a++) {
i = (a*3)+int(a/21);
showpoly a,{playerx,i,i,playery+3};
showpoly a+22,{i,playerx,playery+3,i};
changeimgcolors a,random(0,1),random(0,1),random(0,1),1;
changeimgcolors a+22,random(0,1),random(0,1),random(0,1),1;
changeimgvis a,0;
changeimgvis a+22,0;
}
}

__________________
[signature]insert here[/signature]
Reply With Quote