I'm talking about cloned versions of the same unit.
I want it so that if I click on a unit it becomes selected (Instance variable "selected" = 1)
Then if I click a cloned version of that same unit, I want the currently selected unit to be deselected (Variable "selected" = 0) and the new unit to become selected.
The way I tried it didn't work, and I can't think of any other way to do it.
Can anybody help me out?
Thanks