Particles.DetachParticleTypes()

No replies
Antheor
User offline. Last seen 15 weeks 4 days ago. Offline
Joined: 22 Sep 2010

I want to detach particles then attach new particles to an emitter.
The point is that particlestype names are the same : I want to detach particles1, then create a new particles1 type.
I obviously get this console message :
"
--> Particles.RemoveParticleType(): REMOVED 1 PARTICLE TYPE(S) FROM EMITTER 'EP'.
!!! Particles.CreateParticleType(): PARTICLE TYPE 'Particles1' NOT CREATED - (ALREADY EXISTS)! NAME MUST BE UNIQUE.
"
I don't want to create a new particletype, since particlestypes are randomly generated through time.

How should I do then ?