I asking this a while ago and the answer given then worked but now I would like a fresh look. I am trying to pick an object up (game counter) and place it back down again. I am doing this on a specific grid (32x32) in a specific game turn, like the old historic similation war games.
My game counters are controlled by a massive "type" data base so that works OK, but my mouse control is currently very ellaberate with many for/next loops that are not easy to track. This is partly due to the fact I am looping throught the program twice, once to pick the object up and again to put it back down using active counter=null or activecounter does not = Null as the controller. The type data base has all instances of the active counter as well as many fields for other uses in the game. Again it all works but I am looking for a simpler solution. This is all done in a simple top looking down 2D space view, nothing fansy with 3D ... yet! If you can just show a simple example of a proper mouse controlling "counters" I would similate it into my existing design, thanks for any or all help!
My game counters are controlled by a massive "type" data base so that works OK, but my mouse control is currently very ellaberate with many for/next loops that are not easy to track. This is partly due to the fact I am looping throught the program twice, once to pick the object up and again to put it back down using active counter=null or activecounter does not = Null as the controller. The type data base has all instances of the active counter as well as many fields for other uses in the game. Again it all works but I am looking for a simpler solution. This is all done in a simple top looking down 2D space view, nothing fansy with 3D ... yet! If you can just show a simple example of a proper mouse controlling "counters" I would similate it into my existing design, thanks for any or all help!