Opened 3 years ago

Last modified 7 months ago

#4040 new defect

Control-all cheat should select all units

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – In-game Keywords: simple
Cc: Patch:


Once the option from the developer overlay to control all units is toggled, the selection lasso should include entities of all players and gaia, not only the viewed player. Relevant code: the calls to PickPlayerEntitiesInRect in input.js.

A new scriptfunction PickAllEntitiesInRect is probably required. Notice it should check whether the entities are visible for the currently viewed player.

Furthermore the related code in ScriptFunctions.js should be cleaned, i.e. moved to Selection.cpp, perhaps CCmpRangeManager.cpp and shouldn't iterate through players anymore but just use the ownership mask for the desired players.

Change History (1)

comment:1 Changed 7 months ago by Imarok

Component: UI & SimulationIn-game UI

Move tickets to In-game UI as UI & Simulation got some sub components.

Note: See TracTickets for help on using tickets.