For my game i need a system where if any player selects a unit of player 9 they gain control over that unit, but if they select another unit then they lose control of the first unit and gain control over the new one. This only works if any other player selects a unit controlled by player 9.