A simplified version of what I'm trying to achieve.
I have a 7x7x7 grid and I need to make sure that only one of a certain object can occupy a grid location.
So I pick my object, decide where I want to put it, then I need to check all of the other objects to make sure they're not in that same location. Since I've already picked one object, I'm not sure how to repick them all without losing my first pick - and since I've already picked one object, I can't pick the whole lot now anyway.
So my attempt to solve this was to create a 7x7x7 array, do a loop where each object puts a '1' in the place it's occupying, then when I place the new object, compare against the array. If there's a 1 there, it's occupied.
For some reason that I can't fathom that doesn't work.
I may be overcomplicating this, any ideas?