Detecting both right and left click while using trackables

I know a lot of people will not use trackables no matter what (and admittedly they do suck), but it is indeed possible to detect both right and left clicks (as well as hovering) using trackables, by also having an invisible destructable that is not targetable by the player, over the trackable. When left clicked, the trackable is hit, when right clicked, the selected units' smart orders are issued. This effectively, as stated in the title, allows one to detect both clicks, as well as hovering.

I would attach a test map but not only is it in wurst, it's also covered in bunch of code specific to my map, so it wouldn't be very useful.
 
Top