Why won't this script allow me to move the object and have the particle follow? Also is there a way to keep it emitting 1 particle for as long as I like?
CODE
string pooftexture1 = "TEXTURE KEY";
float min = 1.0;
float max = 1.0;
Label()
{
llParticleSystem([
PSYS_PART_FLAGS , 0,
PSYS_PART_FOLLOW_SRC_MASK |
PSYS_PART_EMISSIVE_MASK |
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_DROP,
PSYS_SRC_TEXTURE, pooftexture1,
PSYS_PART_MAX_AGE, 1.0,
PSYS_SRC_MAX_AGE, 0.0,
PSYS_SRC_BURST_RATE, 1.0,
PSYS_SRC_BURST_PART_COUNT, 1,
PSYS_SRC_ACCEL, <0.0,0.0,0.0>,
PSYS_SRC_BURST_SPEED_MIN, min,
PSYS_SRC_BURST_SPEED_MAX, max,
PSYS_SRC_OMEGA, <0.0,0.0,0.0>
]);
}
default
{
state_entry()
{
Label();
llSetTimerEvent(30.0);
}
timer()
{
llParticleSystem([]);
Label();
}
changed(integer change)
{
if (change & CHANGED_INVENTORY)
{
llResetScript();
}
}
}
At one point the particle did follow the object when moved but now it doesn't seem to work...
All help is very much appreciated!
