• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Unselectable Units

Status
Not open for further replies.
Level 40
Joined
Dec 14, 2005
Messages
10,532
Well, you could always disable Drag-Selection then

(Add Locust
Hide the unit
Remove Locust
Unhide the unit)

Since Adding/Removing locust makes them not click-selectable and removing drag-selection would stop them from being selectable at all.

However, this would potentially be annoying if you needed drag-select for other things.
 
Level 8
Joined
Aug 2, 2006
Messages
346
I'll try setting the selection scale to -1. seems like that would work... or it would crash it...

what do you mean disable drag selection? (If you mean what I think you mean... wow. I didn't know you could do that...)

EDIT: Setting the seleciton scale to -1 just makes it act like one, and it causes the circle to flicker (possibly because it's intersecting with the terrain.)

EDIT2: If I give them the locust ability, will triggers still detect them? (ie unit in range)
also, how do I disable drag selection?
 
Level 8
Joined
Aug 2, 2006
Messages
346
Luckily, I don't need drag selection for anything else!

Thanks!

EDIT: Why do I have to hide then unhide them?

EDIT2: Do I have to do that constantly (???) or only at map initialization (or whenever the unit is made)?

EDIT3: Well what the hell! There's an action there that does what I want! In my map, there is only one unit I wanted you to be able to control, so I can just do the disable selection action! HAHA!
 
Status
Not open for further replies.
Top