Hi guys,
I want to make an enemy, when it dies, destroys itself and spawn another random object, which is going to be his death animation. I'm doing it currently with one death animation, and this is the only way that it comes to my mind that it could be done "easily".
It has to be a must to destroy the enemy, as if it doesn't my code won't work, as he would respawn and then, he'll be invincible.
So.. basically, I wanted to create an array, loaded with enemy01 death animations, and when enemy01 dies, it would spawn a random object animation from that array.
Is this possible to do?
Would anyone lend me a hand in doing so?
Thanks in advance,
Miyavi.