Compare and sort have baffled me already...

BlitzMax Forums/BlitzMax Beginners Area/Compare and sort have baffled me already...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay, been trying to figure this out over the last few days with little success. The only thing I've discovered is that when it deletes a shot, it also deletes any being on the same x or y.

Still unsure though, how compare alters the type without ever being called. Pretty sick of the problem to be honest, I guess I'll try for a few more days then just give up on it. Then I guess I'll try a totally side on game that won't require sorting for my next project. Once I have a better understanding of Blitzmax, I may finally discover what I've done wrong here.