Unit Area Reclaim

Unit Area Reclaim

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

Moderator: Moderators

Post Reply
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Unit Area Reclaim

Post by Google_Frog »

http://spring.jobjol.nl/show_file.php?id=2044
Unit area reclaim. Units inside the area are reclaimed if the order is given while mousing over a unit. Selected units are not reclaimed so more control is possible.
Personally, I'd rather just have it reclaim only the type you started the reclaim command with, unless it's an enemy unit. That is, if I click-drag-reclaim a windgen, I can drag the circle over my whole base to clear out all the windgens.

But if I click-drag-reclaim an enemy unit, I want it to reclaim all enemy units, I don't care what type.
http://spring.jobjol.nl/show_file.php?id=2048 a version with those features.
Last edited by Google_Frog on 13 May 2009, 14:38, edited 2 times in total.
User avatar
Sabutai
Posts: 413
Joined: 18 Dec 2005, 05:55

Re: Unit Area Reclaim

Post by Sabutai »

...allways wanted this.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Unit Area Reclaim

Post by ginekolog »

sounds like usefull, ll test
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Unit Area Reclaim

Post by Pxtl »

Personally, I'd rather just have it reclaim only the type you started the reclaim command with, unless it's an enemy unit. That is, if I click-drag-reclaim a windgen, I can drag the circle over my whole base to clear out all the windgens.

But if I click-drag-reclaim an enemy unit, I want it to reclaim all enemy units, I don't care what type.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Unit Area Reclaim

Post by Beherith »

Pxtl wrote:Personally, I'd rather just have it reclaim only the type you started the reclaim command with, unless it's an enemy unit. That is, if I click-drag-reclaim a windgen, I can drag the circle over my whole base to clear out all the windgens.

But if I click-drag-reclaim an enemy unit, I want it to reclaim all enemy units, I don't care what type.
+1. Fully agree.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Unit Area Reclaim

Post by ginekolog »

Beherith wrote:
Pxtl wrote:Personally, I'd rather just have it reclaim only the type you started the reclaim command with, unless it's an enemy unit. That is, if I click-drag-reclaim a windgen, I can drag the circle over my whole base to clear out all the windgens.

But if I click-drag-reclaim an enemy unit, I want it to reclaim all enemy units, I don't care what type.
+1. Fully agree.
+2 with that
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Unit Area Reclaim

Post by Google_Frog »

I made a slightly different version with unit type reclaiming and enemy reclaiming. Updated first post. Someone say if they want the first version with enemy reclaiming.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: Unit Area Reclaim

Post by manolo_ »

how about a combinied version, e.g. with META-key?
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Unit Area Reclaim

Post by ginekolog »

Google_Frog wrote:I made a slightly different version with unit type reclaiming and enemy reclaiming. Updated first post. Someone say if they want the first version with enemy reclaiming.
TY, this works fine :)
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Re: Unit Area Reclaim

Post by el_matarife »

Pxtl wrote:Personally, I'd rather just have it reclaim only the type you started the reclaim command with, unless it's an enemy unit. That is, if I click-drag-reclaim a windgen, I can drag the circle over my whole base to clear out all the windgens.

But if I click-drag-reclaim an enemy unit, I want it to reclaim all enemy units, I don't care what type.
Great minds think alike. I was proposing this same idea to FatController a few days back. Hopefully we can take this widget an embed it as a gadget on the build bar.
Post Reply

Return to “Lua Scripts”