• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[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