Alright here's my effect:
PHP Code:
if (created || playerenters || timeout) {
with (findimg(50)) {
x = player.x;
y = player.y;
attachtoowner = true;
attachoffset = "-2.5,-2,0";
image = "light2.png";
layer = 3;
red = .2;
green = .5;
blue = 0;
alpha = .9;
zoom = .4;
layer = 2;
if (particleeffectsenabled) {
emitter.delaymin = .4;
emitter.delaymax = 1;
emitter.nrofparticles = 1;
emitter.firstinfront = false;
emitter.attachposition = true;
emitter.continueafterdestroy = true;
emitter.particle.lifetime = .5;
emitter.particle.image = "g4_particle_cloud.png";
emitter.particle.red = 0;
emitter.particle.green = 1;
emitter.particle.blue = 0;
emitter.particle.alpha = .9;
emitter.particle.zoom = .5;
emitter.particle.speed = 0;
emitter.removemodifiers();
emitter.addlocalmodifier("once",0,0,"x","add", 2, 2.5);
emitter.addlocalmodifier("once",0,0,"y","add", 1, 2);
emitter.addlocalmodifier("once", 0, 0, "spin", "replace", 1, 3);
emitter.addlocalmodifier("once", 0, 0, "zoom", "replace", .5, .8);
emitter.addlocalmodifier("once", 0, 0, "alpha", "replace", .6, .9);
emitter.addlocalmodifier("once", 0, 0, "green", "replace", 1, 1);
emitter.addlocalmodifier("range", 0, .5, "alpha", "add", -1, -1);
}
}
setTimer(1);
}
Standard procedure it just gets placed into a player's attr to display a poison ticking effect, then if you or the person with the effect changes levels it disappears.
If I 'refresh the effect' (clear the attr and re-add) it works fine and updating the gani file causes it to work as well.
I'm hoping there's a way to fix this in the gani file or if it's a bug that needs to be fixed.
See attached for the aftermath of changing levels.
Edit: Added the changes that made it work the way I wanted it to.