View Single Post
  #1  
Old 09-29-2007, 11:52 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Emitter not working

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
with (findimg(1)) {
    
layer = 2;
    
x = player.x;
    
y = player.y;

    
emitter.attachposition = false;
    
emitter.delaymin = 10;
    
emitter.delaymax = 15;
    
emitter.emissionoffset = { 20, 20, 20 };
    
emitter.firstinfront = false;
    
emitter.nrofparticles = 3;
    
emitter.maxparticles = 60;
    
    
emitter.particle.lifetime = 12;
    
emitter.particle.image = "g4_particle_whitespot.png";
    
emitter.particle.mode = 0;
    
emitter.particle.alpha = .99;
    
emitter.particle.red = .89;
    
emitter.particle.green = .76;
    
emitter.particle.blue = .49;
    
emitter.particle.zoom = 0;
    
emitter.particle.zangle = 2;
    
emitter.particle.angle = 1;
    
emitter.particle.speed = random(2,6);
    
emitter.particle.spin = 3;
    
emitter.particle.stretchx = 0;
    
emitter.particle.strechy = 0;

    
emitter.addLocalModifier("range",9,12,"alpha","replace",1,0);

    
emitter.emit();
  }
} 
Suggestions?
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote