So I am trying to edit Aegis' Smart Select widget. By default the widget makes it so when you draw a selection box it only selects mobile units, and when holding alt and drawing the selection box it only selects mobile units who are not builders and have a weapon. I am trying to reverse it so that the regular select is the alt select and vise versa. Can anyone help me with this?
For reference the here is the widget :
http://paste.springfiles.com/view/9deeb95f
[Help] Modifying Smart Select
Moderator: Moderators
Re: [Help] Modifying Smart Select
if in frame builder and weapon unit select only weaponMrCucumber wrote:So I am trying to edit Aegis' Smart Select widget. By default the widget makes it so when you draw a selection box it only selects mobile units, and when holding alt and drawing the selection box it only selects mobile units who are not builders and have a weapon. I am trying to reverse it so that the regular select is the alt select and vise versa. Can anyone help me with this?
For reference the here is the widget :
http://paste.springfiles.com/view/9deeb95f
if in frame only builder select builder
with alt key select only builder.
- Attachments
-
- unit_smart_select.lua
- (14.19 KiB) Downloaded 8 times
- PepeAmpere
- Posts: 589
- Joined: 03 Jun 2010, 01:28
Re: [Help] Modifying Smart Select
Your smarselect use kind of hacky way to get thing, which is with current widget handler + mouse call-ins impossible.
I get UI lag, 1 frame show of old selection, etc.
I wanted something similar, but wait for spring 95.0
http://springrts.com/mantis/view.php?id=3879
I get UI lag, 1 frame show of old selection, etc.
I wanted something similar, but wait for spring 95.0
http://springrts.com/mantis/view.php?id=3879
Re: [Help] Modifying Smart Select
My widget dont work? In may comp it is working good.PepeAmpere wrote:Your smarselect use kind of hacky way to get thing, which is with current widget handler + mouse call-ins impossible.
I get UI lag, 1 frame show of old selection, etc.
I wanted something similar, but wait for spring 95.0
http://springrts.com/mantis/view.php?id=3879