• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Detecting both right and left click while using trackables

Status
Not open for further replies.
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.
 
Status
Not open for further replies.
Top