I want to make an Enemy a breakable object on the battle map so think of the enemy as a breakable object that only takes one hit to break like a Barrel for example.
I need to make it so when you hit the Enemy(barrel) it will die(break) with one hit and once it dies a battle animation will play showing coins dropping to the floor or a potion.
is this possible I can't figure out how to make game know once the enemy(barrel) dies(breaks) the animation should play.
I need to make it so when you hit the Enemy(barrel) it will die(break) with one hit and once it dies a battle animation will play showing coins dropping to the floor or a potion.
is this possible I can't figure out how to make game know once the enemy(barrel) dies(breaks) the animation should play.