View Single Post
  #5  
Old 06-02-2002, 09:40 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
there is a big difference between .05 and .1, just try this NPC first
NPC Code:

if (created) {
setarray traillen,7;
timeout=.05;
}
if(timeout){
update();
timeout=.05;
}
function update(){
h=.1;
for(i=0;i<arraylen(traillen);i++){
showimg i,light4.png,mousex-3.5,mousey-3.5;
changeimgvis i,3;
changeimgzoom i,.5;
changeimgcolors i,1,0,0,h;
sleep .05;
h+=.1;
}
}


then change the timeout and sleep to .1, you dont notice anything at first but if you pcik the speed up, there is a big difference
btw: I know that script isn't so good, i might improove on it if I get bored
Reply With Quote