View Single Post
  #8  
Old 02-11-2007, 02:15 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
PHP Code:
SCRIPT
function onCreated()
{
  
thiso.text = player.attr[ 11];
  
with( findimg( 20))
  {
    
attachtoowner = true;
    
layer = 2;
    
x = player.x - random( -0.5, -1);
    
y = player.y - random( -1, -0.1);

    
emitter.continueafterdestroy = true;
    
emitter.nrofparticles = 1;
    
emitter.emitautomatically = false;

    
emitter.particle.lifetime = 0.75;
    
emitter.particle.text = thiso.text;
    
emitter.particle.mode = 1;
    
    
emitter.particle.red = 0;
    
emitter.particle.blue = 0;
    
emitter.particle.green = 1;
    
    
emitter.particle.style = "b";
    
emitter.particle.alpha = 1;
    
emitter.particle.zoom = 0.95;

    
emitter.particle.angle = pi / 2;
    
emitter.particle.speed = 1;

    
emitter.addlocalmodifier( "range", 0.375, 0.875, "alpha", "replace", 1, 0);
    
emitter.addlocalmodifier( "range", 0.1, 0.75, "speed", "replace", 4, 2);
    
    
emitter.emit();
  }
} 
SCRIPTEND 
__________________
Reply With Quote