I have many boxes in each level, each box have it's own hp (5 for now, I may change it as I work on the game).
So after hitting a crate 5 times, it gets destroyed.
I want that only ONE crate will drop an item, and it should be one of the crates chosen randomly.
What is the easiest way to do this?
Thanks ahead! :)
Sorry, I'm not sure how to make the image works on the new forum yet, it's not that important anyway: