Yes, Thank you again Stefan, here is the code that I put with a text editor after the ANIEND at the end of the file.
It makes little concentric circles around, or following, the player.
PHP Code:
SCRIPT
//#CLIENTSIDE
function onCreated() {
with (findimg(200)) {
x=playerx;
y=playery;
z=playerz;
attachtoowner = true;
attachoffset = {0,0,0};
layer = 2;
emitter.continueafterdestroy=true; // looks much better! thank you!
emitter.delaymin = 0.05;
emitter.delaymax = 0.1;
emitter.nrofparticles = 180;
emitter.particle.lifetime = 1;
emitter.particle.image = "icemateria.gif"; //or whatever image you like
emitter.particle.mode = 1;
emitter.particle.alpha = .4;
emitter.particle.red = 1;
emitter.particle.green = 1;
emitter.particle.blue = 1;
emitter.particle.zoom = .5;
emitter.particle.angle = pi / 2;
emitter.particle.spin=2.18;
emitter.particle.speed = 5;
emitter.addlocalmodifier("once", 0, 0, "angle", "add", -5,5);
emitter.addlocalmodifier("range", 0, 1, "alpha", "replace",.4, .01);
emitter.addlocalmodifier("range", 0, 1, "zoom", "replace",.5, .01);
}
}
SCRIPTEND
However, even if I modify the x and y to be the player's x+1.5 and playery+1.5, that makes no difrence. the center of the emitter is still at the player's x and y.