set_emitting_once(true)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tiernich
:warning: Old Version Published before Godot 3 was released.

Hey guys, i was playing with the particles system and this come to my mind. what if we had function that fire the particles just once(or maybe we can pass the number of times), with no need to extra code? do you think will be useful enough to implement or not?

:bust_in_silhouette: Reply From: lukas

There is set_emit_timout function that can be used for such a purpose. Not exactly the number of firing but for setting the time the particles are emitted. If you have explosiveness close to zero and you want only one explosion, set emit timeout to value less than lifetime.

you sir, is a particles system expert :DD

tiernich | 2016-03-24 16:16