part_type_destroy()

obscene

Member
This is probably a very noob question I should have asked years ago, but somehow I've managed to destroy emitters and system but have never once destroyed a particle type. Do these need to be destroyed just the same, even if they are instance particles?
 
C

CoderJoe

Guest
With this function you can remove the specified particle type from the game. When you use this function, all particles of the given type will disappear from the room and the particle itself is removed form memory, so this function should be used only when you no longer need the particle.
straight from the documentation. sounds like you should only destroy it after you are done with it
 
I

icuurd12b42

Guest
create your part type as globals if you dont want weird problems... and never destroy them
 
Top