• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] Mouse Selection Question

Status
Not open for further replies.
Level 1
Joined
Aug 16, 2004
Messages
1
Is there a way to disable the user from being able to drag a box and selecting a group of units? I also want to be able to remove the single selection ring that appears around units when the user has one selected.

Thanks for info

-David G.
 
Level 3
Joined
Mar 27, 2004
Messages
70
I think you can remove the selection circle by setting Selection Size (or something like that) to 0.00 in the Object Editor for all units. If course, if you want to turn it on and off again, that wouldn't be an ideal solution.

There is an object called a trackable, which was never used by blizzard or implemented in GUI and it has a very limited API available.
Nevertheless, its main function is to detect mouse clicks and mouse movement, but one of its side-effects is that it actually prevents one from drawing a selection box on top of it.
It may be the solution, or it may not - you can read in detail about it here: Trackables.
 
Status
Not open for further replies.
Top