Unit Z Selector v1.1

Unit Z Selector v1.1

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Unit Z Selector v1.1

Post by TheFatController »

Hold Z to select the same types of unit only.

Examples:
- Select 1 nano turret, hold Z and drag a box, only nano turrets in the box get selected.
- Select 1 flash tank, 1 stumpy, hold Z and drag a box, only flash tanks and stumpies in the box get selected.

Basically like a localized ctrl-Z.

Download: http://spring.jobjol.nl/show_file.php?id=1599


If anyone can suggest ways to make this better please let me know
Last edited by TheFatController on 25 Nov 2008, 16:40, edited 2 times in total.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Unit Z Selector v1.0

Post by Beherith »

Hmm, pretty good :)
Its unfortunate I have Z and shift Z bound to building hotkeys...
As an alternative, I edited a selection key (alt+Z) that selects all of selected type on screen, and I just zoom in/out for box (screen) size.
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: Unit Z Selector v1.1

Post by det »

Nice widget, but I think using selection buttons widget is probably easier.

example: Select box of units, click the box of the unit type you want.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Unit Z Selector v1.1

Post by CarRepairer »

I have Z bound to select all units on screen of same type as selected (like default ctrl-z but only on screen).

Selectbuttons widget is also useful when I select a small square of units but there's something selected that I don't want like a constructor, a small structure, etc. Just right-click on that type in the selectbuttons and it will remove all of them from your selection.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Unit Z Selector v1.1

Post by KDR_11k »

CarRepairer wrote:Selectbuttons widget is also useful when I select a small square of units but there's something selected that I don't want like a constructor, a small structure, etc. Just right-click on that type in the selectbuttons and it will remove all of them from your selection.
So that's how it works. I tried CTRL-leftclick which didn't work.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Unit Z Selector v1.1

Post by ginekolog »

i use ctrl+w to selelect all units of same type on current screen, so its fast localized ctrl+z. If i need smaller box i zoom in ;)
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Unit Z Selector v1.1

Post by Tribulexrenamed »

Shit, you win
[Krogoth86]
Posts: 1176
Joined: 23 Aug 2007, 19:46

Re: Unit Z Selector v1.1

Post by [Krogoth86] »

Is this bound to the letter "Z" or to the key's position on the keyboard?
Post Reply

Return to “Lua Scripts”