View Single Post
  #3  
Old 04-08-2003, 08:08 AM
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
Looky, from 71 lines to 13. Loops and mathematics are amazing aren't they?
NPC Code:

//#CLIENTSIDE
if (created || timeout) {
timeout = .05;
for (a=0;a<22;a++) {
i = (a+int(a/21))*3;
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