Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#5750 closed enhancement (fixed)

orderone doesn't work when placing building foundations

Reported by: serveurix Owned by: wraitii
Priority: Should Have Milestone: Alpha 24
Component: Simulation Keywords:
Cc: Patch: Phab:D2172

Description

When placing several buildings in a row (farms, panic houses), one might want all the group of builders to build the first one, and only one builder to build the next ones.

The "orderone" modifier key allows to send only one unit of the group to a task : it works for move, resource collection, garrison, but apparently not for building placement (note that my "orderone" key is Alt)

Please allow it.

Change History (6)

comment:1 by Freagarach, 4 years ago

Component: Core engineSimulation
Type: defectenhancement

This is because preselected actions do not support the "orderone"-key currently, see Input.js. Wrong actually it should work for preselected actions. Although constructing buildings is not supported yet.

Last edited 4 years ago by Freagarach (previous) (diff)

comment:2 by Freagarach, 4 years ago

Keywords: simple added

Easy fix: duplicate or make a function of some logic in handleUnitAction and use in tryPlaceBuilding. Perhaps some more involved fix would be better. Both in input.js.

(For the preselected actions see Phab:D2729.)

comment:3 by Freagarach, 4 years ago

Keywords: simple removed
Patch: Phab:D2172

comment:4 by Imarok, 4 years ago

In 23651:

Allow "orderone"-hotkey for preselected actions.

Patch By: Freagarach
Refs #5750
Differential Revision: https://code.wildfiregames.com/D2729

comment:5 by wraitii, 4 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 23830:

Handle 'orderone' hotkey for constructing buildings and walls

This was missing in rP20441.

Based on a patch by: luiko

Also reported by: serveurix

Tested by: Freagarach

Fixes #5750

Differential Revision: https://code.wildfiregames.com/D2172

comment:6 by Stan, 4 years ago

Milestone: BacklogAlpha 24
Note: See TracTickets for help on using tickets.