Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to despawn emitter?

Hi guys,

I've set up this basic blueprint that spawns a fire emitter by the player's feet if they stand in a fire. All I would like to know is how I would despawn the emitter at the player's feet when they walk out of the fire after 1 second. Thanks. alt text

Product Version: UE 4.13
fire emitter.png (260.1 kB)
more ▼

asked Oct 07 '16 at 04:19 PM in Blueprint Scripting

avatar image

5 1 5 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

What you could do is when your player enters the radius, you spawn the emitter like you have but then you set that as a variable. Then when OnEndOverlap is triggered there is a delay followed by a DestroyComponent on that fire variable.

Heres a quick example I came up with -

alt text

more ▼

answered Oct 07 '16 at 04:35 PM

avatar image

251 7 3 11

avatar image Komsur Oct 08 '16 at 04:27 AM

Hi, thanks for the reply.

This worked, but now I'm wondering if there's a way to gradually fade the fire away, to make it look more natural.


avatar image Razer313 Oct 08 '16 at 10:52 AM

Glad that helped,

What you want to do is change the DestroyComponent node with the Deactivate node. The deactivate node will prevent the particle system from spawning any new particles, but it let the existing ones live out their life.

alt text

avatar image Komsur Oct 08 '16 at 07:11 PM

Dude, you are a genius. Thank you so much. If I need you again (which I may do soon), can I like PM you or something (if it's not a bother)?

avatar image Razer313 Oct 08 '16 at 07:18 PM

Im no genius, ive just got little over a years experience now, you'll be able to do all this stuff by yourself in no time!

Thats no problem at all, im happy to answer any questions you have, although I might not be able to answer them all, I might be able to point you in the right direction. Of course you can still use the answerhub and get answers from other, even more experienced people!

Glad I could help

avatar image Default816 May 09 '19 at 09:15 AM

Thanks man, you're a life saver

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question