Home › Forums › TimelineFX Module › Animation Lifetime › Reply To: Animation Lifetime
Hi,
Some effects will just keep emitting particles forever, this is dictated by the amount graph. So for example the toxic effect, if you look at the fire emitter in that effect you’ll see that there is only one node on the graph set at 40. That means it will just keep spawning particles until you call effect.softkill or effect.hardkill.
So if you want to end the effect ingame, just use softkill or hardkill (softkill will stop the emitter emitting, so the remaining particles die natually, and hardkill stops the effect immediately).
If you want the effect to end after 5 seconds by design, then you need to add an extra couple of nodes on the amount graph, and set them to 0 after 5 seconds. See screenshot:
Hope that helps š