HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making the same unit-type not react to ctrl-click?

04-05-2009, 05:42 PM#1
Themerion
Is it possible to somehow create a difference between units of the same unit type so that Ctrl/double-click will not select all units of the same type?

PS. Locust is a bad idea.
04-05-2009, 05:59 PM#2
Captain Griffen
Hero inventory? May need items in it. Something to do with items can allow they to not see all in the UI as the same, but may still be selected the same by double click. Otherwise, you're buggered I think.
04-05-2009, 07:42 PM#3
TheKid
I don't think detecting ctrl+click is possible anyways...
04-06-2009, 03:53 PM#4
Strilanc
Quote:
Originally Posted by Captain Griffen
Hero inventory? May need items in it. Something to do with items can allow they to not see all in the UI as the same, but may still be selected the same by double click. Otherwise, you're buggered I think.

I believe that only affects subgrouping. You can still ctrl+click to select them all.

I remember from starcraft that ctrl+clicking differentiated between cloaked and uncloaked units (in one direction, but not the other). There might be buffs in wc3 with the same effect (eg invisibility?, polymorph?).
04-06-2009, 08:04 PM#5
Themerion
Quote:
Hero inventory? May need items in it. Something to do with items can allow they to not see all in the UI as the same, but may still be selected the same by double click. Otherwise, you're buggered I think.

Like Strilanc said, it worked for subgrouping :)

Quote:
I remember from starcraft that ctrl+clicking differentiated between cloaked and uncloaked units (in one direction, but not the other). There might be buffs in wc3 with the same effect (eg invisibility?, polymorph?).

Tested with invisiblity, polymorph, hex, windwalk, ghost and ghost (visible). It still selects all units.

I think I'll just drop this case. For my implementation it was only intended as a convenience. I can trigger away selection for the units I don't want selected I suppose (though there is an annoying short delay before they actually are unselected).

Anyways, thanks for the help!