View Single Post
  #2  
Old 09-15-2012, 01:08 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Judging by script, lolcursion occurs which looks quite easy to fix.

PHP Code:
SCRIPT
const TIMEGAP 0.05;
const 
MOTIONSTEPS 5;

function 
onPlayerEnters() {
  
onTimeout();
}

function 
onTimeout() {
  
this.counter = (this.counter 1) % MOTIONSTEPS;
  if (
player.ani.name != "global_motionblur") { // dat fix
    
showTrail();
  } else {
    
hideimgs(200,201+MOTIONSTEPS);
  } 
  
setTimer(TIMEGAP);
}

function 
showTrail() {
  
with (findimg(200 this.counter)) {
    
layer 0;
    
player.x;
    
player.y;
    
player.z;
    
ani player.ani.name "[" player.anistep "]";
    
dir player.dir;
    
playerlook true;
    
actor.mode 1;
  }

  for (
temp.i=0temp.i<MOTIONSTEPStemp.i++)
    
findimg(200 + (this.counter+1+temp.i)%MOTIONSTEPS).actor.alpha 0.1 0.8*temp.i/MOTIONSTEPS;
}
SCRIPTEND 
__________________
Quote:
Reply With Quote