Minor Request: Squad-Click

Minor Request: Squad-Click

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

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Minor Request: Squad-Click

Post by Argh »

I am sure this is drop-kick easy to build... but I'd like a Widget that, if active, automatically grabbed all members of a Group if the user left-clicked on any member of that Group.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

you can already do that by double clicking
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

:shock: why didnt I know that....
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

Viewport double-clicking:
1. If CTRL is pressed, select all units of that type (grouped or not)
2. If the unit is in a group, select that group
3. If the unit is not in a group, select all units of that type on-screen

P.S. This also works in the minimap, except that case 3 selects
all units of the type, and does not bother with on-screen checks.
Post Reply

Return to “Lua Scripts”