Wouldn't be a complete day if I didn't ask a question here.
I've created a Spawner from the config file, and it's been happily spawning away for a while. Now I'm changing the scene, and I want to remove the spawner and all its children/particles.
However, if I call orxObject_SetLifeTime(spawner, orxFLOAT_0), or orxSpawner_Delete(spawner), I'm still left with a few particles floating about on their own. Is there a particular way have the spawner delete all its children on removal (a particular function or config option)? Or a way to iterate through each child particle and delete it manually?
Comments
My guess is that you're looking for the config property 'CleanOnDelete'. You can find more info in CreationTemplate.ini in the code/bin folder.
Let me know if it does the job.
Thanks muchly.