Hello,
I'm working a while on this (simple?) problem, but I can't find a solution. I'm working on a strategy game and when you click a building it turns in the "move mode". Ok great, but I can't figure out how to deselect an instance when I click another Instance from the same object. There should be only one instance in move mode like radio buttons.
Here is what I've done:
Explaination:
2/3: "mode_move" on/off state
4: Button to create a new building and turn on the "mode_move"
5: Clicking anywhere "mode_move" turns off and set the new building position
6: Clicking anywhere "mode_move" turns off and set the previous building position when overlapping another building
7: Clicking a building turns "mode_move" off for all instances and turns "mode_move" on for the clicked object
I think event 7 does not work, so you can click multible buildings.