Particle Effect not disappearing after Spawned

The Particle Effect that i assigned to a specific socket on my gun, is working but its not disappearing after i fired my gun. its just staying in the place where it spawned? Have i forgotten something?

12671-muzzle+flash+not+disappearing.png

Hello again.

Knowing you from the previous question you have posted, your particle effect is most likely attached to a socket within your component and not with persona. What you could do to resolve this issue is when “Event Fire” is used, spawn actor (Particle you want to use) and then add a quick delay and then destroy actor (particle you want to use). And the cycle will go continuously.

Essentially, you are spawning in a particle effect every time you fire and then that effect within a shirt amount of time. That’s the logic you should bare in mind.

Also, try to understand your blueprints instead of copying from a website. It can benefit you by helping you understand certain problems that occur.

Good luck,
Kev

Hey Kev, thx for the quick reply

“What you could do to resolve this issue is when “Event Fire” is used, spawn actor (Particle you want to use) and then add a quick delay and then destroy actor (particle you want to use). And the cycle will go continuously.”

sry for beeing annoying but isnt that exactly the thing i did in the blueprint (screenshot 2)

Spawning actor every time the event fire hits (you cant see it in the screenshot). also the “auto destroy” is enabled. The Socket that i attached it to is on the gun model itself (where it sould spawn). Is that wrong?

Heres the whole blueprint for you to look at:

sounds like your suggesting exactly what i did :wink:

I’ve noticed that you are not destroying the correct actor. In your blueprint, it shows that you are spawning in a projectile but if you look down the line, you’re destroying “PAssualtRifleMF” instead of the projectile.

“PAssualtRifleMF” is actually the PartilceEffect i want to destroy but nevermind. turns out the guys tutorial i was following has a lot of mistakes and unanswered steps in it. i will try to figure it out myself