Stop particle system after one time run in ue4

i follow UE4 - Tutorial - Confetti! - YouTube tutorial which is working fine. but instead of add particle system in viewport. i call it in game mode after level completed. the problem is that it keep running, i want to run particle system one time only. i gave value 1 in required duration loop. but it again keep running. how to stop it after one time run. i am calling it in eventtick function. it that the problem.

You set to one on all the emitters?

Can you show us how you’re using the particle system?

I meant are you spawning the particle system or what? How are you creating and activating the system?

1 Like

i have create it in blueprint function library. do once also not working.

“Spawn Emitter at Location” is doing nothing (no asset selected).

“Activate” is doing nothing, since, “Add Particle System Component” by default, it’s auto-activated.

Either use “Spawn Emitter at Location” or “Add Particle System Component”. I suggest the first. “Add Particle System Component” should only be used in case you want to attach a PS to an actor.

Are you calling this code more than once? Have you tried putting a “Do Once” node before all this?

So, the problem must be in the PS itself. Try using the Explosion from the starter content instead of the CLIFI_P…

Also, check “Auto Destroy”.

build in particles also keep running again and again. it is not stop after run one time.

Do once don’t work inside functions, each time you call the function the do once fires. Try to put the do once in the level bp directly (I guess you call it in the level bp) or in a macro or spawn your particle on an other event (I haven’t well understood when you call it since you said you call when level is loaded then you said you call it on tick)