Hi everyone, I want to create a royal rumble type game, where the results are already predetermined. This is what I had plan to use to create it, but please feel free to share if you can think of a more effective approach.
Each object will have 2 lives, so they need to be hit twice before they lose and removed from the game. Each instance will have their final ranking set in their own variables, ranking from 1 to 6. They will each approach the nearest instance, and fight it out for a while. The one with the lowest ranking, will lose and be knocked back. Both of them will than go after the nearest instance, but not themselves again, and fight and continue on until only the winner is left.
The problem I am having is comparing between instances and selecting one based on the variable being higher or lower. I just can't seem to find a way to select an instance based on two conditions. For example, pick nearest to sprite.UID=variable, but than I can't say exclude this sprite instance because they just fought, or say which one should lose when compare between the two variables.
Would really appreciate any help on this. Thanks.