Hiya everybody,
This problem is really starting to bug me. I seem to run into it whenever I build a game that involves multiple objects and then tries to handle their destruction from a certain condition, and something always seems to stuff up.
Here is a simple side on strategy game project, very bare bones. In it, there are two main objects, player soldiers and enemy soldiers. One type marches across from the left, the other the right. The have a bunch of events that handle shooting, walking, aiming and death. Here's the problem.
These two groups of events, each group handling a different object, should be identical. In fact, I'm almost certain that they are completely identical. However, the "Player Soldiers" do not seem to handle death correctly. As in, technically only the first soldier in the group should be killed, because that's all the bullet could hit. However, every friendly soldier object gets mowed down, not finishing their death animation etc. And yet the other enemy soldiers objects do. Why don't they work the same, even though they are identical?
Would somebody mind helping go through this CAP? You can download it here if you want to help out:
dl.dropbox.com/u/48504160/tinywar.cap
Anyhelp would be seriously, seriously appreciated!