I used CreateParticleSystemAtEntity, and I want the particle system to be destroyed after its 'run its' course'. (Making a chemical-mixture puzzle, using ps_bubbles as a boiling effect) Hopefully I can fix this, I really like the bubble/boil effect! Thanks~
You didn't give the particle systems a name. DestroyParticleSystem is not based on filename, it's based on the first argument of CreateParticleSystemAtEntity.
I actually used my 'Bible' to do this, lol. I think my brain is dead or something, I'm not understanding what you're saying.
Like I said ps_bubbles is obviously the internal name, and I didn't place ANY particle systems in the Level Editor because you can't set them inactive, that's why I used CreateParticleSystemAtEntity, so it would appear instead of be there when I loaded the map.
Do you see the empty strings in the first parameters? That means you didn't provide an internal name to your particles for DestroyParticleSystem to reference against. That means DestroyParticleSystem won't be able to find your particles when passing "ps_bubbles" to it. That first parameter for CreateParticleSystemAtEntity is very important when it comes to using DestroyParticleSystem.