View Single Post
  #1445  
Old 03-23-2012, 02:13 AM
DrakilorP2P DrakilorP2P is offline
Registered User
DrakilorP2P's Avatar
Join Date: Apr 2006
Posts: 755
DrakilorP2P is just really niceDrakilorP2P is just really nice
Particle effects are shown in the wrong place when I move GraalControl. It doesn't happen in v5 or when the effect has multiple particle types.



The effect code used in the video:
PHP Code:
//#CLIENTSIDE
function onPlayerEnters()
{
  
with (findimg(200)) {
    
with (this.emitter) {
      
this.delaymin 0.05;
      
this.delaymax 0.05;
      
this.nrofparticles 1;
      
this.emitautomatically true;

      
with (this.particle) {
        
this.image "block.png";
        
this.lifetime 5;
        
this.alpha 1;
      }

      
this.addlocalmodifier("once"00"angle""replace"0pi*2);
    }
  }

Setting this.particleTypes = 2; stops it from happening.
__________________
Testbed user: I figured since I can never find any scripters it was time to take desperate measures...and...TEACH MYSELF 0.0
Reply With Quote