Index: binaries/data/config/default.cfg =================================================================== --- binaries/data/config/default.cfg +++ binaries/data/config/default.cfg @@ -281,7 +281,8 @@ stop = "H" ; Stop the current action backtowork = "Y" ; The unit will go back to work unload = "U" ; Unload garrisoned units when a building/mechanical unit is selected -attack = Ctrl ; Modifier to attack instead of another action (eg capture) +move = unused ; Modifier to move to a point instead of another action (e.g. gather) +attack = Ctrl ; Modifier to attack instead of another action (e.g. capture) attackmove = Ctrl ; Modifier to attackmove when clicking on a point attackmoveUnit = "Ctrl+Q" ; Modifier to attackmove targeting only units when clicking on a point (should contain the attackmove keys) garrison = Ctrl ; Modifier to garrison when clicking on building Index: binaries/data/mods/public/gui/session/unit_actions.js =================================================================== --- binaries/data/mods/public/gui/session/unit_actions.js +++ binaries/data/mods/public/gui/session/unit_actions.js @@ -66,6 +66,15 @@ { return { "possible": true }; }, + "hotkeyActionCheck": function(target, selection) + { + if (!someUnitAI(selection) || + !Engine.HotkeyIsPressed("session.move") || + !getActionInfo("move", target, selection).possible) + return false; + + return { "type": "move" }; + }, "actionCheck": function(target, selection) { if (!someUnitAI(selection) || !getActionInfo("move", target, selection).possible)