Idle unit hotkey.

Differential Revision: https://code.wildfiregames.com/D1060
Patch By: temple
Reviewed By: wraitii
This was SVN commit r20578.
This commit is contained in:
elexis 2017-12-04 02:54:51 +00:00
parent cd571035bb
commit 1bf2221b83
3 changed files with 10 additions and 2 deletions

View File

@ -241,6 +241,7 @@ remove = Ctrl ; Remove units from selection
cancel = Esc ; Un-select all units and cancel building placement
idleworker = Period ; Select next idle worker
idlewarrior = ForwardSlash ; Select next idle warrior
idleunit = BackSlash ; Select next idle unit
offscreen = Alt ; Include offscreen units in selection
[hotkey.selection.group.add]
0 = "Shift+0"

View File

@ -67,11 +67,14 @@ Pause: Pause/resume the game
Delete: Delete currently selected units/buildings
Shift + Delete: Delete currently selected units/buildings without confirmation
/ (ForwardSlash): Select idle fighter
Shift + /: add idle fighter to selection
Shift + /: Add idle fighter to selection
Alt + /: Select all idle fighters
. (Period): Select idle worker (including citizen soldiers)
Shift + .: add idle worker to selection (including citizen soldiers)
Shift + .: Add idle worker to selection (including citizen soldiers)
Alt + .: Select all idle workers (including citizen soldiers)
\ (BackSlash): Select idle unit
Shift + \: Add idle unit to selection
Alt + \: Select all idle units
H: Stop (halt) the currently selected units.
Y: The unit will go back to work
U: Unload the garrisoned units of the selected buildings

View File

@ -89,6 +89,10 @@
<action on="Press">findIdleUnit(g_MilitaryTypes);</action>
</object>
<object hotkey="selection.idleunit">
<action on="Press">findIdleUnit(["!Domestic"]);</action>
</object>
<object hotkey="selection.cancel">
<action on="Press">clearSelection();</action>
</object>